From b76ebb0ed0d9d30a1204e8d52f6d8ec195ca5491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Sat, 17 Apr 2021 02:20:34 -0300 Subject: [PATCH] Revert "quickjs: template top level should assign to CFLAGS, not add." This reverts commit c202cd841b133c1f558767a505988be66195d8b4. - xbps-src should clean CFLAGS before parsing templates, so adding would always be safe - avoids human error if someone adds CFLAGS above or below this block and forgets to change CFLAGS= to CFLAGS+= --- srcpkgs/quickjs/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/quickjs/template b/srcpkgs/quickjs/template index c9d7087d243..a1c9f8d1c36 100644 --- a/srcpkgs/quickjs/template +++ b/srcpkgs/quickjs/template @@ -21,7 +21,7 @@ fi if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" - CFLAGS="-DLINK_ATOMIC" + CFLAGS+=" -DLINK_ATOMIC" export EXTRA_LIBS="-latomic" fi