diff --git a/sample_package/Makefile b/sample_package/Makefile index b1bed7d..4cb5e64 100644 --- a/sample_package/Makefile +++ b/sample_package/Makefile @@ -1,6 +1,6 @@ .PHONY: all clean -CFLAGS_EXTRA ?= -ggdb3 -fopenmp -O0 -std=c99 -Wall -Werror -Wextra +CFLAGS_EXTRA ?= -ggdb3 -O0 -std=c99 -Wall -Werror -Wextra IN_EXT ?= .c LIBS := OUT_EXT ?= .out diff --git a/sample_package/external.mk b/sample_package/external.mk index 34725a8..95019d5 100644 --- a/sample_package/external.mk +++ b/sample_package/external.mk @@ -10,7 +10,7 @@ SAMPLE_PACKAGE_SITE_METHOD = local define SAMPLE_PACKAGE_BUILD_CMDS # D contains the source code of this package. - $(MAKE) -C '$(@D)' CC="$(TARGET_CC)" LD="$(TARGET_LD)" + $(MAKE) -C '$(@D)' CC=clang CFLAGS=-static endef define SAMPLE_PACKAGE_INSTALL_TARGET_CMDS