X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Flib%2FMakefile.in;h=fe0bc318b052495715581edbd4339093ad741458;hb=e96c962c23142b074928e0e6e78a0b99c772cd56;hp=a5b0e6f4670264a4a27b5824c3a845d0b24f9b91;hpb=017de88e377891f9ee18b831bd93a77343064bcb;p=fw%2Fsdcc diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in index a5b0e6f4..fe0bc318 100644 --- a/device/lib/Makefile.in +++ b/device/lib/Makefile.in @@ -35,7 +35,7 @@ lib_dir_suffix = @lib_dir_suffix@ sdcc_libdir = $(datadir)/$(lib_dir_suffix) CPPFLAGS = -I$(INCDIR) -CFLAGS = $(MODELFLAGS) --nostdinc --nostdlib +CFLAGS = $(MODELFLAGS) --nostdinc BUILDDIR = build # Default @@ -225,7 +225,7 @@ dep: Makefile.dep Makefile.dep: $(SOURCES) $(INCDIR)/*.h rm -f Makefile.dep for i in $(SOURCES); do \ - $(CPP) -lang-c++ -M $(CPPFLAGS) $$i >$${i}.dep; \ + $(CPP) -std=c99 -M $(CPPFLAGS) $$i >$${i}.dep; \ cat $${i}.dep >>Makefile.dep; \ rm $${i}.dep; \ done