* support/regression/Makefile.in,
[fw/sdcc] / support / regression / ports / ds390 / spec.mk
index 46da096af0cf634ac70d115c1d4fad1d047c3270..7c2d17c0fc5dc9d267d7b085b8ebf6b3b15b1815 100644 (file)
@@ -13,11 +13,11 @@ else
 
   S51 = $(shell if [ -f $(S51A) ]; then echo $(S51A); else echo $(S51B); fi)
 
-  SDCCFLAGS += --nostdinc
-  LINKFLAGS += --nostdlib -L $(top_builddir)/device/lib/build/ds390 
+  SDCCFLAGS += --nostdinc -I$(top_srcdir)
+  LINKFLAGS += --nostdlib -L$(top_builddir)/device/lib/build/ds390 
 endif
 
-SDCCFLAGS +=-mds390 --less-pedantic -DREENTRANT=reentrant -Wl-r -I$(top_srcdir)
+SDCCFLAGS +=-mds390 --less-pedantic -DREENTRANT=reentrant -Wl-r
 LINKFLAGS += libds390.lib libsdcc.lib liblong.lib libint.lib libfloat.lib
 
 OBJEXT = .rel