diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-16 16:30:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-16 16:30:07 +0000 |
commit | 1293c6ac2490801bad2a7a2cfe4049fad0326f3b (patch) | |
tree | fd89d172b0956a70770f26df57fd7c42cb258e17 /libs/px5g | |
parent | 39a48ea2699eeb51eefa8ed92de91258a04bc8a1 (diff) |
libs/px5g: fix compilation on OpenWrt trunk
Diffstat (limited to 'libs/px5g')
-rw-r--r-- | libs/px5g/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libs/px5g/Makefile b/libs/px5g/Makefile index 2773b700db..80a650ed00 100644 --- a/libs/px5g/Makefile +++ b/libs/px5g/Makefile @@ -3,18 +3,21 @@ include ../../build/module.mk include ../../build/gccconfig.mk PX5G_LIB_CFLAGS = -Isrc/ -include src/polarssl/rsa.h \ - -include src/polarssl/x509.h -PX5G_OBJ_CFLAGS = -Isrc/ + -include src/polarssl/x509.h \ + $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(WFLAGS) + +PX5G_OBJ_CFLAGS = -Isrc/ \ + $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(WFLAGS) PX5G_LIB = src/library/bignum.o src/library/havege.o src/library/rsa.o \ src/library/sha1.o src/library/timing.o src/library/x509write.o PX5G_OBJ = src/px5g.o src/library/%.o: src/library/%.c - $(COMPILE) $(PX5G_LIB_CFLAGS) $(FPIC) -c -o $@ $< + $(CC) $(PX5G_LIB_CFLAGS) $(FPIC) -c -o $@ $< %.o: %.c - $(COMPILE) $(PX5G_OBJ_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $< + $(CC) $(PX5G_OBJ_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $< compile: $(PX5G_LIB) $(PX5G_OBJ) $(LINK) $(SHLIB_FLAGS) -o src/px5g.so $(PX5G_OBJ) $(PX5G_LIB) |