| 1 |
$FreeWRT$ |
| 2 |
|
| 3 |
added additional C- and LDFLAGS |
| 4 |
|
| 5 |
--- asterisk-1.4.0.orig/Makefile 2006-12-22 23:33:46.000000000 +0100 |
| 6 |
+++ asterisk-1.4.0/Makefile 2007-01-15 12:34:22.000000000 +0100 |
| 7 |
@@ -180,6 +180,10 @@ ifeq ($(OSARCH),linux-gnu) |
| 8 |
endif |
| 9 |
endif |
| 10 |
|
| 11 |
+# fix for cross compiling |
| 12 |
+ASTCFLAGS+= ${EXTRA_CFLAGS} ${EXTRA_CPPFLAGS} |
| 13 |
+ASTLDFLAGS+= ${EXTRA_LDFLAGS} |
| 14 |
+ |
| 15 |
ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) |
| 16 |
|
| 17 |
ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h |