aboutsummaryrefslogtreecommitdiff
path: root/Makerules
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
parentbd37f2ee314147c69a39817d590149cf1181ef47 (diff)
downloadglibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.zip
glibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.tar.gz
glibc-83d1aec8fc5f4250e6d5f44eeef30c923e140ca4.tar.bz2
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 f1807c2..d184be6 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