# HG changeset patch # User dsamersoff # Date 1378986829 -14400 # Node ID 9065fbafee8d6177b1a959c1060981b89ed681da # Parent 4700261a6edbdb71a1375ce5541088ce945d75dd 8022617: Openjdk hotspot build is broken on BSD platforms using gcc Summary: Enforce of preprocessing of all assembly sources by assembler-with-cpp Reviewed-by: dholmes, erikj diff -r 4700261a6edb -r 9065fbafee8d hotspot/make/bsd/makefiles/gcc.make --- a/hotspot/make/bsd/makefiles/gcc.make Wed Sep 11 14:30:17 2013 +0400 +++ b/hotspot/make/bsd/makefiles/gcc.make Thu Sep 12 15:53:49 2013 +0400 @@ -80,7 +80,7 @@ HOSTCC = $(CC) endif - AS = $(CC) -c -x assembler-with-cpp + AS = $(CC) -c endif @@ -347,6 +347,13 @@ LDFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN) endif + +#------------------------------------------------------------------------ +# Assembler flags + +# Enforce prerpocessing of .s files +ASFLAGS += -x assembler-with-cpp + #------------------------------------------------------------------------ # Linker flags