aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-19 16:23:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-19 16:23:26 +0000
commit83d1aec8fc5f4250e6d5f44eeef30c923e140ca4 (patch)
treec9d694371ed67073d00724613e81d5bb6ac677e2 /Makerules
parentOptimize private 387 fenv access; share code between i386 and x86_64. (diff)
downloadglibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.tar.gz
glibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.tar.bz2
glibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.zip
Remove common-objdir-compile and related sysdeps/unix/Makefile code.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules8
1 files changed, 0 insertions, 8 deletions
diff --git a/Makerules b/Makerules
index f1807c2ee8..d184be6d20 100644
--- a/Makerules
+++ b/Makerules
@@ -1122,14 +1122,6 @@ $(BUILD_CC) $($(basename $(<F))-CFLAGS) $(ALL_BUILD_CFLAGS) \
$(firstword $(filter /%,$< $(shell pwd)/$<)) -o $(@F)
endef
-# Command to compile $< in $(common-objdir) using the native libraries.
-# We must cd to $(objdir) anyway so that $(..)config.h is valid.
-define common-objdir-compile
-$(patsubst %/,cd % &&,$(objpfx)) \
-$(BUILD_CC) $($(basename $(<F))-CFLAGS) $(ALL_BUILD_CFLAGS) \
- $(firstword $(filter /%,$< $(shell pwd)/$<)) -o $(..)$(@F)
-endef
-
# We always want to use configuration definitions.
# Note that this is only used for commands running in $(objpfx).
ALL_BUILD_CFLAGS = $(BUILD_CFLAGS) -include $(..)config.h