]> git.ipfire.org Git - pakfire.git/blob - macros/cflags.macro
Update macros.
[pakfire.git] / macros / cflags.macro
1
2 # Export CFLAGS + CXXFLAGS
3 GLOBAL_CFLAGS = -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4
4
5 CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
6 CFLAGS_x86_64 = -m64 -mtune=generic
7
8 export CFLAGS = %{GLOBAL_CFLAGS} %{CFLAGS_%{DISTRO_ARCH}}
9 export CXXFLAGS = %{CFLAGS}