mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
samba:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
22fc79ca5b
commit
0f13fd8c37
@ -11,16 +11,6 @@ else
|
|||||||
SMB_AVAHI="--disable-avahi"
|
SMB_AVAHI="--disable-avahi"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fails to compile using the gold linker
|
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
|
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
|
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
|
|
||||||
|
|
||||||
# Fails to compile with GCC's link time optimization.
|
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
||||||
|
|
||||||
export samba_cv_CC_NEGATIVE_ENUM_VALUES=no
|
export samba_cv_CC_NEGATIVE_ENUM_VALUES=no
|
||||||
|
|
||||||
cd $PKG_BUILD/source3
|
cd $PKG_BUILD/source3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user