Author: oxygene
Date: 2008-09-11 20:51:46 +0200 (Thu, 11 Sep 2008)
New Revision: 62
Modified:
trunk/filo/Makefile
Log:
32bit/64bit fixes
Modified: trunk/filo/Makefile
===================================================================
--- trunk/filo/Makefile 2008-09-11 18:22:05 UTC (rev 61)
+++ trunk/filo/Makefile 2008-09-11 18:51:46 UTC (rev 62)
@@ -72,7 +72,7 @@
LIBPAYLOAD_PREFIX ?= libpayload
LIBPAYLOAD = $(LIBPAYLOAD_PREFIX)/lib/libpayload.a
INCPAYLOAD = $(LIBPAYLOAD_PREFIX)/include
-LIBGCC = $(shell $(CC) -print-libgcc-file-name)
+LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
OBJS := $(patsubst %,$(obj)/%,$(TARGETS-y))
INCLUDES := -I$(INCPAYLOAD) -Iinclude -I$(ARCHDIR-y)/include -Ibuild
@@ -121,7 +121,7 @@
$(obj)/%.S.o: $(src)/%.S
$(Q)printf " AS $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(AS) -o $@ $<
+ $(Q)$(AS) $(ASFLAGS) -o $@ $<
endif