1
0

updated for newest changes

This commit is contained in:
2024-02-28 19:06:49 -07:00
parent 2f4b65e84b
commit fc87272a43
12 changed files with 108 additions and 120 deletions

View File

@@ -38,9 +38,7 @@ CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection -fuse-ld=mold"
#CFLAGS=""
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"