diff -up pcc-20141210/pcc-libs/csu/linux/Makefile.flags pcc-20141210/pcc-libs/csu/linux/Makefile
--- pcc-20141210/pcc-libs/csu/linux/Makefile.flags 2014-10-13 13:07:26.000000000 +0200
+++ pcc-20141210/pcc-libs/csu/linux/Makefile 2014-12-10 21:13:12.227836642 +0100
@@ -4,7 +4,7 @@ VERSION ?= 1.1.0
PCCLIBDIR ?= /usr/local/lib/pcc/$(TARGET)/$(VERSION)/lib
SRCDIR ?= .
-CFLAGS = -I$(SRCDIR)/$(MACH) -I$(SRCDIR) -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS_NODEBUG = -I$(SRCDIR)/$(MACH) -I$(SRCDIR) -Wall -Wstrict-prototypes -Wmissing-prototypes
#OBJS = crt0.o crt1.o gcrt1.o crti.o crtn.o crtbegin.o crtend.o \
# crtbeginS.o crtendS.o crtbeginT.o crtendT.o
@@ -14,37 +14,37 @@ OBJS = crtbegin.o crtend.o crtbeginS.o c
all: $(OBJS)
crt0.o: $(MACH)/crt0.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crt1.o: $(MACH)/crt0.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
gcrt1.o: $(MACH)/crt0.c
- $(CC) -O2 -DPROFILE $(CFLAGS) -c -o $@ $<
+ $(CC) -DPROFILE $(CFLAGS_NODEBUG) -c -o $@ $<
crti.o: $(MACH)/crti.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crtn.o: $(MACH)/crtn.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crtbegin.o: crtbegin.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crtend.o: crtend.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crtbeginS.o: crtbegin.c
- $(CC) -O2 $(CFLAGS) -fpic -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -fpic -c -o $@ $<
crtendS.o: crtend.c
- $(CC) -O2 $(CFLAGS) -fpic -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -fpic -c -o $@ $<
crtbeginT.o: crtbegin.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
crtendT.o: crtend.c
- $(CC) -O2 $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS_NODEBUG) -c -o $@ $<
install:
mkdir -p ${DESTDIR}$(PCCLIBDIR)
diff -up pcc-20141210/pcc-libs/libpcc/Makefile.in.flags pcc-20141210/pcc-libs/libpcc/Makefile.in
--- pcc-20141210/pcc-libs/libpcc/Makefile.in.flags 2014-07-01 15:01:48.000000000 +0200
+++ pcc-20141210/pcc-libs/libpcc/Makefile.in 2014-12-10 21:11:05.045832255 +0100
@@ -53,7 +53,7 @@ $(DEST): $(OBJS)
$(RANLIB) $@
.c.o :
- $(CC) -O $(CPPFLAGS) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
install: install-headers install-lib
diff -up pcc-20141210/pcc-libs/libsoftfloat/Makefile.in.flags pcc-20141210/pcc-libs/libsoftfloat/Makefile.in
--- pcc-20141210/pcc-libs/libsoftfloat/Makefile.in.flags 2011-04-27 11:12:55.000000000 +0200
+++ pcc-20141210/pcc-libs/libsoftfloat/Makefile.in 2014-12-10 21:11:05.046832255 +0100
@@ -43,10 +43,10 @@ $(DEST): $(OBJS)
$(RANLIB) $@
softfloat.o : bits64/softfloat.c
- $(CC) -O $(CPPFLAGS) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
.c.o :
- $(CC) -O $(CPPFLAGS) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
install:
test -z "${DESTDIR}$(PCCLIBDIR)" || mkdir -p "${DESTDIR}$(PCCLIBDIR)"