Commit cdba648e authored by Mischa Jonker's avatar Mischa Jonker Committed by Peter Korsgaard
Browse files

uclibc, eglibc: remove REALLY_NOSTDLIB references



These were required with ARC gcc 4.4.7; ARC gcc 4.8 has been changed
to behave the same as other architectures with -nostdlib, making this
option obsolete.

Signed-off-by: default avatarMischa Jonker <mjonker@synopsys.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 381654d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ define EGLIBC_CONFIGURE_CMDS
	cp $(@D)/build/csu/crt1.o $(STAGING_DIR)/usr/lib/
	cp $(@D)/build/csu/crti.o $(STAGING_DIR)/usr/lib/
	cp $(@D)/build/csu/crtn.o $(STAGING_DIR)/usr/lib/
	$(TARGET_CROSS)gcc -nostdlib $(REALLY_NOSTDLIB) \
	$(TARGET_CROSS)gcc -nostdlib \
		-nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libc.so
endef

+2 −9
Original line number Diff line number Diff line
@@ -162,13 +162,6 @@ define UCLIBC_X86_TYPE_CONFIG
endef
endif

#
# ARC definitions
#
ifeq ($(UCLIBC_TARGET_ARCH),arc)
REALLY_NOSTDLIB = -really-nostdlib
endif

#
# Endianess
#
@@ -407,9 +400,9 @@ define UCLIBC_CONFIGURE_CMDS
		RUNTIME_PREFIX=$(STAGING_DIR) \
		headers lib/crt1.o lib/crti.o lib/crtn.o \
		install_headers
	$(TARGET_CROSS)gcc -nostdlib $(REALLY_NOSTDLIB) \
	$(TARGET_CROSS)gcc -nostdlib \
		-nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libc.so
	$(TARGET_CROSS)gcc -nostdlib $(REALLY_NOSTDLIB) \
	$(TARGET_CROSS)gcc -nostdlib \
		-nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libm.so
	cp -pLR $(UCLIBC_DIR)/lib/crt[1in].o $(STAGING_DIR)/usr/lib/
endef