Revision 67c0f08d Makefile.target
b/Makefile.target | ||
---|---|---|
175 | 175 |
VPATH+=:$(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) |
176 | 176 |
CPPFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) |
177 | 177 |
|
178 |
ifdef CONFIG_STATIC |
|
179 |
LDFLAGS+=-static |
|
180 |
endif |
|
181 |
|
|
182 | 178 |
ifeq ($(ARCH),i386) |
183 | 179 |
ifdef TARGET_GPROF |
184 | 180 |
USE_I386_LD=y |
... | ... | |
322 | 318 |
VPATH+=:$(SRC_PATH)/bsd-user |
323 | 319 |
CPPFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ARCH) |
324 | 320 |
|
325 |
ifdef CONFIG_STATIC |
|
326 |
LDFLAGS+=-static |
|
327 |
endif |
|
328 |
|
|
329 | 321 |
ifeq ($(ARCH),i386) |
330 | 322 |
ifdef TARGET_GPROF |
331 | 323 |
USE_I386_LD=y |
... | ... | |
620 | 612 |
endif |
621 | 613 |
|
622 | 614 |
# specific flags are needed for non soft mmu emulator |
623 |
ifdef CONFIG_STATIC |
|
624 |
LDFLAGS+=-static |
|
625 |
endif |
|
626 | 615 |
ifndef CONFIG_DARWIN |
627 | 616 |
ifndef CONFIG_WIN32 |
628 | 617 |
ifndef CONFIG_SOLARIS |
Also available in: Unified diff