|
@@ -56,13 +56,13 @@ ifeq ($(strip $(DODEBUG)),true)
|
|
|
CFLAGS += -g
|
|
|
TARGET_CFLAGS += -g
|
|
|
LDFLAGS = -nostdlib -Wl,-warn-common
|
|
|
- TARGET_LDFLAGS = -Wl,-warn-common
|
|
|
+ TARGET_LDFLAGS = --uclibc-use-build-dir -Wl,-warn-common
|
|
|
STRIPTOOL = /bin/true -Since_we_are_debugging
|
|
|
else
|
|
|
CFLAGS += -DNDEBUG #-fomit-frame-pointer
|
|
|
TARGET_CFLAGS += -DNDEBUG #-fomit-frame-pointer
|
|
|
LDFLAGS = -s -nostdlib -Wl,-warn-common
|
|
|
- TARGET_LDFLAGS = -s -Wl,-warn-common
|
|
|
+ TARGET_LDFLAGS = --uclibc-use-build-dir -s -Wl,-warn-common
|
|
|
endif
|
|
|
|
|
|
ifndef $(PREFIX)
|