summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-arm.conf9
-rw-r--r--build-atom.conf9
-rw-r--r--build-atom64.conf9
-rw-r--r--build-emulator.conf9
4 files changed, 16 insertions, 20 deletions
diff --git a/build-arm.conf b/build-arm.conf
index f22cfff..8430601 100644
--- a/build-arm.conf
+++ b/build-arm.conf
@@ -179,12 +179,11 @@ Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
Substitute: glibc-devel-32bit
%endif
+%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
-#%__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
-
-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: 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 -D__SOFTFP__
+Optflags: i586 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fmessage-length=0
Macros:
diff --git a/build-atom.conf b/build-atom.conf
index d9e64b6..06ff50c 100644
--- a/build-atom.conf
+++ b/build-atom.conf
@@ -179,12 +179,11 @@ Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
Substitute: glibc-devel-32bit
%endif
+%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
-#%__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
-
-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: 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 -D__SOFTFP__
+Optflags: i586 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fmessage-length=0
Macros:
diff --git a/build-atom64.conf b/build-atom64.conf
index 762eb1b..b358846 100644
--- a/build-atom64.conf
+++ b/build-atom64.conf
@@ -179,12 +179,11 @@ Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
Substitute: glibc-devel-32bit
%endif
+%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
-#%__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
-
-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: 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 -D__SOFTFP__
+Optflags: i586 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fmessage-length=0
Macros:
diff --git a/build-emulator.conf b/build-emulator.conf
index 5c8f4c2..93d6fdf 100644
--- a/build-emulator.conf
+++ b/build-emulator.conf
@@ -179,12 +179,11 @@ Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
Substitute: glibc-devel-32bit
%endif
+%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
-#%__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
-
-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: 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 -D__SOFTFP__
+Optflags: i586 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
+Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fmessage-length=0
Macros: