From d11f5b3a0bcefec654d8fc431b5135c287b6011b Mon Sep 17 00:00:00 2001 From: "J.W. Jagersma" Date: Sat, 30 Dec 2023 18:53:46 +0100 Subject: [PATCH] export flags variables --- script/init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script/init.sh b/script/init.sh index 3dae258..448d2b4 100644 --- a/script/init.sh +++ b/script/init.sh @@ -48,6 +48,7 @@ fi export CFLAGS_FOR_TARGET=${CFLAGS_FOR_TARGET-"-O2 -g -ffunction-sections -fdata-sections"} export CXXFLAGS_FOR_TARGET=${CXXFLAGS_FOR_TARGET-"-O2 -g -ffunction-sections -fdata-sections"} +export CFLAGS CXXFLAGS LDFLAGS # check if cp understands --preserve (for MacOS) if cp --preserve=mode,timestamps script/hello.c ./hello.c > /dev/null 2>&1; then