1
0
mirror of https://github.com/cahirwpz/amigaos-cross-toolchain synced 2025-11-21 01:37:26 +00:00

Added missing patches.

This commit is contained in:
Krystian Bacławski
2012-10-01 21:41:49 +02:00
parent 9d02a0c9bf
commit f31edbe52f
2 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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 */