mpsd.conf

This commit is contained in:
milisbir 2018-08-29 16:28:29 +03:00
parent 5643666961
commit 67eb9d4f0c
1 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,18 @@
export CFLAGS="-O2 -pipe"
export CARCH="x86_64"
export CHOST="x86_64-unknown-linux-gnu"
#export CFLAGS="-O2 -pipe"
export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
export CXXFLAGS="${CFLAGS}"
#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
case "`uname -m`" in
"x86_64"|"")
export MAKEFLAGS="-j5"
@ -12,7 +24,7 @@ case "`uname -m`" in
export LDFLAGS="${LDFLAGS} -m32"
;;
*)
echo "bilinmeyen mimari..cıkılıyor."
echo "bilinmeyen mimari..çıkılıyor."
exit 1
;;
esac