From da315ad2a5288d310eb55de2650778dc6db03abb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 21 Aug 2018 10:10:12 +0200 Subject: community/julia: set MARCH and -march also for package_julia, not just for build --- community/julia/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'community') diff --git a/community/julia/PKGBUILD b/community/julia/PKGBUILD index 2c862052..e8de39ab 100644 --- a/community/julia/PKGBUILD +++ b/community/julia/PKGBUILD @@ -6,3 +6,12 @@ eval "$( /MARCH="/ s/"x86-64"/"pentium4"/ ' )" + +eval "$( + declare -f package_julia | \ + sed ' + /^\s*make / i CFLAGS+=" -march=pentium4" \ + CXXFLAGS+=" -march=pentium4" + /MARCH="/ s/"x86-64"/"pentium4"/ + ' +)" -- cgit v1.2.3-70-g09d2