- remove link time optimization hack (not more needed)
This commit is contained in:
Stephan Raue 2010-06-14 01:27:35 +02:00
parent 22fc79ca5b
commit 0f13fd8c37

View File

@ -11,16 +11,6 @@ else
SMB_AVAHI="--disable-avahi"
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
cd $PKG_BUILD/source3