mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-30 21:24:03 +00:00
config/optimize: force building with -Wno-format-security which causes buildissues on gettext:host and other packages, see also https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
209ebd1ebc
commit
70e22eb090
@ -56,6 +56,11 @@ HOST_CXXFLAGS="$HOST_CFLAGS"
|
||||
HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
|
||||
HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
|
||||
|
||||
# work around Ubuntu default C*FLAGS
|
||||
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
|
||||
HOST_CFLAGS="$HOST_CFLAGS -Wno-format-security"
|
||||
HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
|
||||
|
||||
# add distro specific library dirs
|
||||
# ubuntu/debian specific "multiarch support"
|
||||
FAMILY_TRIPLET=$(echo $HOST_NAME | sed -e "s,$(uname -m),$(uname -i),")
|
||||
|
Loading…
x
Reference in New Issue
Block a user