mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/virtualbox: Add -fpermissive to the CXXFLAGS for gcc >= 14.x.
Thanks to Gnisho! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
712320b61b
commit
1268965238
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ patch -p1 -i $CWD/006-rdesktop-vrdp-keymap-path.patch
|
|||
sed -i 's|python2.7 python2.6 |python3.10 |' ./configure
|
||||
|
||||
# Use our CFLAGS
|
||||
sed -i "s|CXX_FLAGS=\"\"|CXX_FLAGS=\"$SLKCFLAGS -std=c++11\"|" ./configure
|
||||
sed -i "s|CXX_FLAGS=\"\"|CXX_FLAGS=\"$SLKCFLAGS -std=c++11 -fpermissive\"|" ./configure
|
||||
|
||||
./configure \
|
||||
--disable-kmods \
|
||||
|
@ -147,7 +147,7 @@ sed -i "s|CXX_FLAGS=\"\"|CXX_FLAGS=\"$SLKCFLAGS -std=c++11\"|" ./configure
|
|||
|
||||
cp $CWD/LocalConfig.kmk .
|
||||
sed -i "s|LIBDIR|lib$LIBDIRSUFFIX|" ./LocalConfig.kmk
|
||||
sed -i "s|CXXFLAGS|$SLKCFLAGS -std=c++11|" ./LocalConfig.kmk
|
||||
sed -i "s|CXXFLAGS|$SLKCFLAGS -std=c++11 -fpermissive|" ./LocalConfig.kmk
|
||||
|
||||
kmk -j ${JOBS} LOCALCFG=./LocalConfig.kmk
|
||||
|
||||
|
|
Loading…
Reference in a new issue