diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-05 06:01:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-05 06:01:21 +0000 |
commit | 2d858d53fdc3a40c52e83ce6c58f37ba485a1828 (patch) | |
tree | 6cc60c6d3345b75d441ed7f94acd9d4fbc84bc5b /Makefile | |
parent | 7be859a705aa7084b187e8007847aa4ddb049faf (diff) |
Use LDFLAGS, don't always include -nostdlib...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ shared: $(STATIC_NAME) @mkdir tmp @(cd tmp; ar -x ../$(STATIC_NAME)) @(cd tmp; CC=$(CC) /bin/sh ../extra/scripts/get-needed-libgcc-objects.sh) - $(CC) -s -nostdlib -shared -o $(SHARED_NAME) -Wl,-soname,$(SHARED_NAME) tmp/*.o + $(CC) -g $(LDFLAGS) -shared -o $(SHARED_NAME) -Wl,-soname,$(SHARED_NAME) tmp/*.o @rm -rf tmp done: $(STATIC_NAME) $(DO_SHARED) |