X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fasdf-module.mk;h=dba81ea337b4da97aecd8ccec2547da20d35a654;hb=85c2a647392716e4dd272ae8fb1fc71ecb730508;hp=ddce36b4beb54a4b0faf309d03b34ca41d5f982b;hpb=f0da2f63aa0b4e6d4dbf884854a4bf2dfdd01fc0;p=sbcl.git diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk index ddce36b..dba81ea 100644 --- a/contrib/asdf-module.mk +++ b/contrib/asdf-module.mk @@ -1,4 +1,3 @@ -CC?=gcc # We need to extend flags to the C compiler and the linker # here. sb-posix, sb-grovel, and sb-bsd-sockets depends upon these @@ -22,6 +21,9 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) # paths, either. CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif +ifeq (Linux,$(UNAME)) + EXTRA_CFLAGS=-D_GNU_SOURCE +endif export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS @@ -30,7 +32,8 @@ all: $(EXTRA_ALL_TARGETS) $(SBCL) --eval '(defvar *system* "$(SYSTEM)")' --load ../asdf-stub.lisp --eval '(exit)' test: all - echo "(asdf:operate (quote asdf:load-op) :$(SYSTEM))" \ + echo "(pushnew :sb-testing-contrib *features*)" \ + "(asdf:operate (quote asdf:load-op) :$(SYSTEM))" \ "(asdf:operate (quote asdf:test-op) :$(SYSTEM))" | \ $(SBCL) --eval '(load "../asdf/asdf")'