mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
Revert "quickjs: template top level should assign to CFLAGS, not add."
This reverts commit c202cd841b
.
- 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+=
This commit is contained in:
parent
c202cd841b
commit
b76ebb0ed0
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
CFLAGS="-DLINK_ATOMIC"
|
CFLAGS+=" -DLINK_ATOMIC"
|
||||||
export EXTRA_LIBS="-latomic"
|
export EXTRA_LIBS="-latomic"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue