Pass CC/CFLAGS to ./configure, not to make, adding -include config.h

This commit is contained in:
Martin Willi 2012-07-19 08:44:55 +02:00
parent 5084c13f6d
commit 328447acd5
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ endif
build:
dh_testdir
./configure $(CONFIGURE_ARGS)
$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
./configure $(CONFIGURE_ARGS) CC="$(CC)" CFLAGS="$(CFLAGS)"
$(MAKE)
touch build
clean: