changeset 9212:90416ba05ba1 icedtea-3.2.0pre01

PR3123: Some object files built without -fPIC on x86 only Summary: Remove unwanted PIC exclusion rules
author andrew
date Thu, 04 Aug 2016 02:38:01 +0100
parents fd29eff8b797
children 52a89b286dbf
files make/linux/makefiles/rules.make
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/rules.make	Wed Jul 27 12:33:33 2016 +0200
+++ b/make/linux/makefiles/rules.make	Thu Aug 04 02:38:01 2016 +0100
@@ -136,27 +136,12 @@
 COMPILE_DONE    = && { echo Done with $<; }
 endif
 
-# Include $(NONPIC_OBJ_FILES) definition
-ifndef LP64
-include $(GAMMADIR)/make/pic.make
-endif
-
 include $(GAMMADIR)/make/altsrc.make
 
-# The non-PIC object files are only generated for 32 bit platforms.
-ifdef LP64
 %.o: %.cpp
 	@echo Compiling $<
 	$(QUIETLY) $(REMOVE_TARGET)
 	$(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)
-else
-%.o: %.cpp
-	@echo Compiling $<
-	$(QUIETLY) $(REMOVE_TARGET)
-	$(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \
-	   $(subst $(VM_PICFLAG), ,$(COMPILE.CXX)) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE), \
-	   $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE))
-endif
 
 %.o: %.s
 	@echo Assembling $<