mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
samba:
- disable build with LTO support
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build avahi
|
||||
|
||||
# samba fails to compile with GCC 4.5.0's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user