diff options
author | Bailey Kasin | 2018-07-31 01:02:46 -0700 |
---|---|---|
committer | Bailey Kasin | 2018-07-31 01:02:46 -0700 |
commit | df01dbe18a6778f4bbe5e3b50f64ba65f563fb68 (patch) | |
tree | 80b77bff41d8199e161eeb98207b874cbf50ade5 /PKGBUILD | |
parent | 871def8f9e03942585cb6c805f07acbbe170fdb2 (diff) | |
download | aur-df01dbe18a6778f4bbe5e3b50f64ba65f563fb68.tar.gz |
Custom CFLAGS could cause build errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -36,10 +36,12 @@ prepare() { } build() { - cd "$srcdir/$pkgname-$pkgver" + unset CFLAGS + + cd "$srcdir/$pkgname-$pkgver" mkdir ../linux cp -r /usr/src/kernels/4.14.35-1818.0.9.el7uek.x86_64/include/uapi/linux/dtrace ../linux/ - make HDRPREFIX=../ + make HDRPREFIX="$srcdir/" } package() { |