From 17c76554275114fca4e45977ed21b4e94d0386c1 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 7 Sep 2010 14:36:59 +0100 Subject: [PATCH] - move PIE flag to Makefile --- subversion.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subversion.spec b/subversion.spec index 9d2ab09..9abae09 100644 --- a/subversion.spec +++ b/subversion.spec @@ -198,12 +198,10 @@ export svn_cv_ruby_sitedir_libsuffix="" export svn_cv_ruby_sitedir_archsuffix="" %ifarch sparc64 -pieflag=-fPIE -%else -pieflag=-fpie +sed -i 's/-fpie/-fPIE/' Makefile.in %endif -export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path} CFLAGS="$RPM_OPT_FLAGS $pieflag" +export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path} CFLAGS="$RPM_OPT_FLAGS" %configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ --with-swig --with-neon=%{_prefix} \ --with-ruby-sitedir=%{ruby_sitearch} \