diff --git a/programs/use_gcc.lua b/programs/use_gcc.lua index e43c4b7c74..715318bf2a 100644 --- a/programs/use_gcc.lua +++ b/programs/use_gcc.lua @@ -9,7 +9,7 @@ CFLAGS = CFLAGS_OPTIMIZE_SIZE CFLAGS_c = "" -- extra flags for *.c CFLAGS_cpp = " -fno-rtti" -- extra flags for *.cpp -LDFLAGS = "-nostdlib -n --file-alignment=16 --section-alignment=16" +LDFLAGS = "-static -nostdlib -n --file-alignment=16 --section-alignment=16" INCLUDES = "" LIBS = "" LIBDEPS = {}