summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2016-06-08 09:35:12 +0900
committerDongsun Lee <ds73.lee@samsung.com>2016-06-08 09:35:12 +0900
commit0d4d30d99b8d7e840e8ae6131f71439eb379a748 (patch)
tree76a6265b051c200e4c7117a674ffba083068941a
parent751541fc4c9a75e430848b1b298c10c7c35a1d7a (diff)
downloadopenssl-0d4d30d99b8d7e840e8ae6131f71439eb379a748.tar.gz
openssl-0d4d30d99b8d7e840e8ae6131f71439eb379a748.tar.bz2
openssl-0d4d30d99b8d7e840e8ae6131f71439eb379a748.zip
modify mcpu and march flag in case for mcpu=cortex-a15.cortex-a7 or march=armv7vesubmit/tizen_base/20160608.005951accepted/tizen/base/20160608.180452
Change-Id: I5cf5bae46a34aca5faf9ef049172118b41e542e6 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r--packaging/openssl.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/openssl.spec b/packaging/openssl.spec
index 9db3672..8e5d5bb 100644
--- a/packaging/openssl.spec
+++ b/packaging/openssl.spec
@@ -123,8 +123,9 @@ CHANGES=`stat --format="%y" %SOURCE1`
sed -i -e "s|#define DATE \(.*\).LC_ALL.*date.|#define DATE \1$CHANGES|" crypto/Makefile
%build
-RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g")
-export RPM_OPT_FLAGS
+MODIFIED_RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -s "s/--param=ssp-buffer-size=32//g")
+MODIFIED_RPM_OPT_FLAGS=$(echo $MODIFIED_RPM_OPT_FLAGS | sed -s "s/-mcpu=cortex-a15.cortex-a7//g")
+MODIFIED_RPM_OPT_FLAGS=$(echo $MODIFIED_RPM_OPT_FLAGS | sed -s "s/-march=armv7ve/-march=armv7-a/g")
./config --test-sanity
#
@@ -134,7 +135,7 @@ zlib \
--prefix=%{_prefix} \
--libdir=%{_lib} \
--openssldir=%{ssletcdir} \
-$RPM_OPT_FLAGS -std=gnu99 \
+$MODIFIED_RPM_OPT_FLAGS -std=gnu99 \
-Wa,--noexecstack \
-fomit-frame-pointer \
-DTERMIO \