tizen-unified_20200302.1
authortizenrobot <tizenrobot@noreply.samsung.com>
Mon, 2 Mar 2020 21:40:02 +0000 (21:40 +0000)
committertizenrobot <tizenrobot@noreply.samsung.com>
Mon, 2 Mar 2020 21:40:02 +0000 (21:40 +0000)
unified/emulator_build.conf
unified/standard_build.conf

index 1213206..dd0b752 100644 (file)
@@ -77,11 +77,6 @@ Macros:
 
 ############################# build config #####################################
 
-%define gcc_version 90
-Macros:
-%gcc_version 90
-:Macros
-
 ########## targets ##########
 
 %ifarch i586
@@ -217,7 +212,7 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed
+%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -Wl,-z,relro,--as-needed
 
 Optflags: armv7l %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb
 Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53
index 6094a03..d6f2c98 100644 (file)
@@ -77,11 +77,6 @@ Macros:
 
 ############################# build config #####################################
 
-%define gcc_version 90
-Macros:
-%gcc_version 90
-:Macros
-
 ########## targets ##########
 
 %ifarch i586
@@ -217,7 +212,7 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed
+%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -Wl,-z,relro,--as-needed
 
 Optflags: armv7l %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb
 Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53