diff options
author | Leo P | 2015-12-02 20:56:48 -0500 |
---|---|---|
committer | Leo P | 2015-12-02 20:56:48 -0500 |
commit | 2a03f12af0086894257f397826bc99c11f56886c (patch) | |
tree | fbce34d4d974dcdd506c8c8dfea3bb9bb3f03f0a | |
parent | 09eb6276d1a5ffdafb0e7517ba53749d48649f9d (diff) | |
download | aur-2a03f12af0086894257f397826bc99c11f56886c.tar.gz |
use mtune_generic if desired
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ _nginx_ver_stable=1.8.0 OPTIONS=(!strip debug) #nchan is still young, in case something goes wrong we want good coredumps +if [[ ! -z $MTUNE_GENERIC ]]; then + CFLAGS="${CFLAGS//mtune=native/mtune=generic}" +fi + _nginx_ver=$_nginx_ver_stable _pkgname=nginx |