diff --git a/patches/vbcc-0.9b/Makefile.diff b/patches/vbcc-0.9b/Makefile.diff new file mode 100644 index 0000000..a7803d8 --- /dev/null +++ b/patches/vbcc-0.9b/Makefile.diff @@ -0,0 +1,10 @@ +--- vbcc-0.9b/Makefile 2011-01-04 02:31:53.000000000 +0100 ++++ vbcc-0.9b/Makefile 2012-09-30 22:43:31.000000000 +0200 +@@ -1,6 +1,6 @@ + + # used to create vbcc, vc and ucpp +-CC = gcc -std=c9x -g -DHAVE_AOS4 #-DHAVE_ECPP -DHAVE_MISRA ++CC = gcc -std=c9x -O2 -fomit-frame-pointer #-DHAVE_ECPP -DHAVE_MISRA + LDFLAGS = -lm + + # native version; used to create dtgen diff --git a/patches/vbcc-0.9b/frontend/vc.c.diff b/patches/vbcc-0.9b/frontend/vc.c.diff new file mode 100644 index 0000000..0a1ad62 --- /dev/null +++ b/patches/vbcc-0.9b/frontend/vc.c.diff @@ -0,0 +1,11 @@ +--- vbcc-0.9b/frontend/vc.c 2012-10-01 17:35:34.000000000 +0200 ++++ vbcc-0.9b/frontend/vc.c 2012-10-01 17:38:59.000000000 +0200 +@@ -91,7 +91,7 @@ + const char *search_dirs[]={"","C:\\"}; + #else + const char *config_name="vc.config"; +-const char *search_dirs[]={"","~/","/etc/"}; ++const char *search_dirs[]={ETCDIR,"~/","/etc/"}; + #endif + + /* String fuer die Default libraries */