Fixup PIE compilation flags 24/143624/1 accepted/tizen/4.0/base/20170828.221248 accepted/tizen/base/20170814.055741 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20170810.144927 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
authorIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Thu, 10 Aug 2017 14:34:45 +0000 (16:34 +0200)
committerIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Thu, 10 Aug 2017 14:34:45 +0000 (16:34 +0200)
Change 'fPIE' to 'fPIC' (the former causes compilation failure on some
architectures).

Change-Id: Icd5930d8bd03715d82f5315cba7ee9a8f4bc6101
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
packaging/openssl.spec

index bb4df7f..1843723 100644 (file)
@@ -100,7 +100,7 @@ RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -s "s/-march=armv7ve/-march=armv7-a/g"
 
 CONFIG_FLAGS="--prefix=%_prefix --openssldir=%openssldir --libdir=%_lib \
     threads shared no-idea no-rc5 no-camellia no-asm no-ssl2-method enable-md2 \
-    $RPM_OPT_FLAGS -std=gnu99 -fPIE -pie"
+    $RPM_OPT_FLAGS -std=gnu99 -fPIC -pie"
 
 BINARY_FORMAT=
 %ifarch %{arm}