From 2abbc1111870d3735ac3c3a94cc25560926c855e Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Thu, 2 Jun 2022 20:21:20 +0200 Subject: [PATCH] fix(arch): also blank LDFLAGS for debug build --- PKGBUILD | 2 +- PKGBUILD.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {