diff options
author | Bernhard Reutner-Fischer | 2006-01-27 15:45:56 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-01-27 15:45:56 +0000 |
commit | 08a1b5095d710c5d905056a9daa14a1acad5590b (patch) | |
tree | 2b3632bc1361c718d8f80b7c95240730b7f52d71 /Makefile | |
parent | 79af7d5debe2f40ca1128975167243d4bb00fb51 (diff) | |
download | busybox-08a1b5095d710c5d905056a9daa14a1acad5590b.zip busybox-08a1b5095d710c5d905056a9daa14a1acad5590b.tar.gz |
- add a macro to check for ld and as flags
Very unreliable as e.g the ld check will see the flags supported by each emulation, not just the active one.
good enough for now..
Fix would be to crate one or more dummy .c files and accually try if a flag
works.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -277,8 +277,7 @@ endif $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) -shared \ $(CFLAGS_PIC) \ -Wl,-soname=$(LD_LIBBUSYBOX).$(MAJOR_VERSION) \ - -Wl,--enable-new-dtags -Wl,--reduce-memory-overheads \ - -Wl,-z,combreloc -Wl,-shared -Wl,--as-needed -Wl,--warn-shared-textrel \ + -Wl,-z,combreloc $(LIB_LDFLAGS) \ -o $(@) \ -Wl,--start-group -Wl,--whole-archive \ $(LIBRARY_DEFINE) $(^) \ |