diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-21 10:10:12 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-21 10:10:12 +0200 |
commit | da315ad2a5288d310eb55de2650778dc6db03abb (patch) | |
tree | e6f40d3498c26045af26a1f2fb1d17a03b64b200 | |
parent | ed6d8ac3ae6719a9e60ea34dfb4526522f704b95 (diff) | |
download | packages-da315ad2a5288d310eb55de2650778dc6db03abb.tar.xz |
community/julia: set MARCH and -march also for package_julia, not just for build
-rw-r--r-- | community/julia/PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
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"/ + ' +)" |