diff options
author | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2014-12-10 15:10:23 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2014-12-12 02:42:33 -0800 |
commit | e80a48673e3ae35664ddbc2659d8447d1140bef5 (patch) | |
tree | 103ef9872961aa5138ec8888118b1e5ebc4bc748 /Tizen:Common | |
parent | 8e7c1d18d041e8a199bcdb5129c5e562ce3c18a6 (diff) | |
download | obs-e80a48673e3ae35664ddbc2659d8447d1140bef5.tar.gz obs-e80a48673e3ae35664ddbc2659d8447d1140bef5.tar.bz2 obs-e80a48673e3ae35664ddbc2659d8447d1140bef5.zip |
Tizen:Common: factorize optflags in global variable
To enhance maintainance, Optflags definitions which are common
to all platforms/architectures are put in a singlevariable __global_cflags
Change-Id: Iee31e8bcd80f84d9813e6e55577128e61af952aa
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Diffstat (limited to 'Tizen:Common')
-rw-r--r-- | Tizen:Common/_config | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tizen:Common/_config b/Tizen:Common/_config index 914bf84..d026dd6 100644 --- a/Tizen:Common/_config +++ b/Tizen:Common/_config @@ -406,16 +406,16 @@ Substitute: glibc-devel-32bit ########## compilation flags ########## -#%__global_cflags -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security +%define __global_cflags -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -Optflags: i686 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone +Optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -Optflags: x86_64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone +Optflags: x86_64 %{__global_cflags} -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone #generic arm platform -#Optflags: armv7l -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -Wp,-D__SOFTFP__ +#Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -Wp,-D__SOFTFP__ #activate neon FPU instructions set (crosswalk build) -Optflags: armv7l -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -Wp,-D__SOFTFP__ +Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -Wp,-D__SOFTFP__ -Optflags: aarch64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat -Wformat-security -fmessage-length=0 +Optflags: aarch64 %{__global_cflags} |