Files
mostlymatter/webapp/Makefile
RJ Trujillo fe5ddaee8e fix(webapp/Makefile): Drop quotes around appended cppflags (#27374)
Currently, if you're building under aarch64 and have cppflags set in your environment as such:

`CPPFLAGS="-O2 -Wall -fomit-frame-pointer -march=armv8-a -mtune=neoverse-n1 -Wp,-D_FORTIFY_SOURCE=3"`

This will result in `-DPNG_ARM_NEON_OPT=0` being improperly applied:

`CPPFLAGS="-O2 -Wall -fomit-frame-pointer -march=armv8-a -mtune=neoverse-n1 -Wp,-D_FORTIFY_SOURCE=3 " -DPNG_ARM_NEON_OPT=0""`

As a result, when npm install is ran, it will fail. To fix this, we remove the quotes around the appended cppflags

Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
2024-06-18 15:56:45 -04:00

2.7 KiB