mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
- Makefiles now respect external CFLAGS and LDFLAGS. Closes ticket #2
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
|
||||
# Also see "include/polarssl/config.h"
|
||||
|
||||
CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
|
||||
CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
|
||||
OFLAGS = -O
|
||||
|
||||
# MicroBlaze specific options:
|
||||
@ -46,11 +46,11 @@ libpolarssl.a: $(OBJS)
|
||||
|
||||
libpolarssl.so: libpolarssl.a
|
||||
echo " LD $@"
|
||||
$(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS)
|
||||
$(CC) ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ $(OBJS)
|
||||
|
||||
libpolarssl.dylib: libpolarssl.a
|
||||
echo " LD $@"
|
||||
$(CC) -dynamiclib -o $@ $(OBJS)
|
||||
$(CC) ${LDFLAGS} -dynamiclib -o $@ $(OBJS)
|
||||
|
||||
.c.o:
|
||||
echo " CC $<"
|
||||
|
Reference in New Issue
Block a user