diff --git a/PKGBUILD b/PKGBUILD index c2c33b2..656d9d4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -22,7 +22,7 @@ build() { # The default CFLAGS for some reason causes vieter to segfault if used # inside the PKGBUILD. As a workaround, we use tcc to build a debug build # that does work, so we can generate the manpages. - CFLAGS= make man + CFLAGS= LDFLAGS= make man } package() { diff --git a/PKGBUILD.dev b/PKGBUILD.dev index babb6aa..d25abb3 100644 --- a/PKGBUILD.dev +++ b/PKGBUILD.dev @@ -30,7 +30,7 @@ build() { # The default CFLAGS for some reason causes vieter to segfault if used # inside the PKGBUILD. As a workaround, we use tcc to build a debug build # that does work, so we can generate the manpages. - CFLAGS= make man + CFLAGS= LDFLAGS= make man } package() {