Commit 1cca5b83 authored by mara's avatar mara

added the default flags for compiling packages

parent 8a306442
......@@ -3,6 +3,13 @@
_CWD=$(pwd)
THREADS=$(($(grep -c 'processor' /proc/cpuinfo)-2))
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
export CFLAGS="-O2 -pipe -fstack-protector-strong -fno-plt"
export CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-plt"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#source "l-packages.conf" || exit 1
#source "tcl-packages.conf" || exit 1
#source "d-packages.conf" || exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment