8014669: arch specific flags not passed to some link commands
authorbpittore
Wed, 15 May 2013 23:06:04 -0400
changeset 17614 a188e0a1875e
parent 17613 e9ff44dc09e2
child 17615 bc9ef7afc5c8
8014669: arch specific flags not passed to some link commands Summary: EXTRA_CFLAGS does not propagate to saproc and jsig makefiles Reviewed-by: dholmes, tbell, collins
hotspot/make/linux/makefiles/jsig.make
hotspot/make/linux/makefiles/saproc.make
--- a/hotspot/make/linux/makefiles/jsig.make	Tue May 14 07:24:50 2013 -0400
+++ b/hotspot/make/linux/makefiles/jsig.make	Wed May 15 23:06:04 2013 -0400
@@ -54,7 +54,7 @@
 $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
 	@echo Making signal interposition lib...
 	$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \
-                         $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) -o $@ $< -ldl
+                         $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) $(EXTRA_CFLAGS) -o $@ $< -ldl
 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 	$(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJSIG_DEBUGINFO)
 	$(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJSIG_DEBUGINFO) $@
--- a/hotspot/make/linux/makefiles/saproc.make	Tue May 14 07:24:50 2013 -0400
+++ b/hotspot/make/linux/makefiles/saproc.make	Wed May 15 23:06:04 2013 -0400
@@ -92,6 +92,7 @@
 	           $(SASRCFILES)                                        \
 	           $(SA_LFLAGS)                                         \
 	           $(SA_DEBUG_CFLAGS)                                   \
+	           $(EXTRA_CFLAGS)                                      \
 	           -o $@                                                \
 	           -lthread_db
 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)