-fix build with additional CFLAGS on commandline

This commit is contained in:
Karsten Keil 2008-08-31 11:35:56 +00:00
parent 9e46023ea7
commit 718edb22c2
2 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@ INSTALL_DIRS = @INSTALL@ -d
#----------------------------------------------------------------------------#
CC = @CC@
CFLAGS = @CFLAGS@ @LINK_NCURSES_INCL@ @LINK_TCL_INCL@
VBOX_CFLAGS = @CFLAGS@ @LINK_NCURSES_INCL@ @LINK_TCL_INCL@
LDFLAGS = @LDFLAGS@
#----------------------------------------------------------------------------#

View File

@ -13,6 +13,8 @@ NCURSES_HAVE = @HAVE_NCURSES_PACK@
TCL_LIBS = @LINK_TCL_LIBS@
TCL_HAVE = @HAVE_TCL_PACK@
override CFLAGS += $(VBOX_CFLAGS)
#----------------------------------------------------------------------------#
# Headers #
#----------------------------------------------------------------------------#