diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-25 19:14:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-25 19:14:52 +0000 |
| commit | 4699ed343a2f45e55e841a28ff2fe6d938026a31 (patch) | |
| tree | 38eb87c7cfe69e3db26182fc5ba2f71223a9692c | |
| parent | PKGBUILD: append -O3 to makepkg provided CFLAGS (diff) | |
PKGBUILD: always set -fno-plt and -Wno-missing-profile
| -rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,11 @@ pkgver() { } build() { - export CFLAGS+=" -O3" + # makepkg uses -O2 by default, but we *really* want -O3 + # -Wno-missing-profile since we're not exercising everything when doing PGO builds + # -fno-plt because performance (this is the default in makepkg anyway) + export CFLAGS+=" -O3 -Wno-missing-profile -fno-plt" + meson --prefix=/usr --buildtype=release --wrap-mode=nofallback -Db_lto=true .. if [[ -v WAYLAND_DISPLAY ]]; then |
