# HG changeset patch # User Koji Uno # Date 1271046164 -32400 # Node ID e6287d1755bae7951db02da2b5d75a1d89197b09 # Parent 66ca4e7dba9b11808075afab0693f47883cb90ab fix miscellaneous portion in Makefile.master. diff -r 66ca4e7dba9b -r e6287d1755ba usr/src/Makefile.master --- a/usr/src/Makefile.master Thu Oct 15 14:04:56 2009 +0900 +++ b/usr/src/Makefile.master Mon Apr 12 13:22:44 2010 +0900 @@ -100,6 +100,7 @@ # set __GNUC= in the environment to build 32-bit with the gcc compiler. # The default is to use the Sun Studio compiler for all processor types. __GNUC= $(POUND_SIGN) +$(__GNUC)__NON_GNUC = $(POUND_SIGN) # set __GNUC64= in the environment to build 64-bit with the gcc compiler. # Inherit the __GNUC value by default, and if that is set to $(POUND_SIGN) @@ -119,6 +120,7 @@ __GNU_LD= $(POUND_SIGN) __GNULD= $(POUND_SIGN) $(__GNU_LD)__GNULD= +$(__GNULD)__NON_GNULD = $(POUND_SIGN) # CLOSED is the root of the tree that contains source which isn't released # as open source @@ -161,7 +163,6 @@ DD= /usr/bin/dd CP= /usr/bin/cp -f MCS= /usr/ccs/bin/mcs -ELFDUMP= /usr/ccs/bin/elfdump CAT= /usr/bin/cat ELFDUMP= /usr/ccs/bin/elfdump M4= /usr/ccs/bin/m4 @@ -169,7 +170,6 @@ LEX= /usr/ccs/bin/lex FLEX= $(SFW_ROOT)/bin/flex YACC= /usr/ccs/bin/yacc -NM= /usr/ccs/bin/nm CPP= /usr/lib/cpp JAVAC= $(JAVA_ROOT)/bin/javac JAVAH= $(JAVA_ROOT)/bin/javah @@ -506,6 +506,7 @@ sparcv9_IROPTFLAG = -W2,-xwrap_int i386_IROPTFLAG = amd64_IROPTFLAG = +arm_IROPTFLAG = IROPTFLAG = $($(MACH)_IROPTFLAG) IROPTFLAG64 = $($(MACH64)_IROPTFLAG) @@ -529,9 +530,12 @@ # Flags that are used to build parts of the code that are subsequently # run on the build machine (also known as the NATIVE_BUILD). # -NATIVE_CFLAGS= $(COPTFLAG) $($(NATIVE_MACH)_CFLAGS) $(CCMODE) \ +# NATIVE_CFLAGS= $(COPTFLAG) $($(NATIVE_MACH)_CFLAGS) $(CCMODE) \ +# $(ILDOFF) $(CERRWARN) $(C99MODE) $($(NATIVE_MACH)_CCUNBOUND) \ +# $(IROPTFLAG) $(CGLOBALSTATIC) +NATIVE_CFLAGS= $($(NATIVE_MACH)_COPTFLAG) $($(NATIVE_MACH)_CFLAGS) $(CCMODE) \ $(ILDOFF) $(CERRWARN) $(C99MODE) $($(NATIVE_MACH)_CCUNBOUND) \ - $(IROPTFLAG) $(CGLOBALSTATIC) + $($(NATIVE_MACH)_IROPTFLAG) $(CGLOBALSTATIC) DTEXTDOM=-DTEXT_DOMAIN=\"$(TEXT_DOMAIN)\" # For messaging. DTS_ERRNO=-D_TS_ERRNO @@ -1153,9 +1157,6 @@ @$(ECHO) "extracting code from $< ... " sed -n -e '/ONC_PLUS EXTRACT START/,/ONC_PLUS EXTRACT END/p' $< > $@ -$(__GNUC)__NON_GNUC = $(POUND_SIGN) -$(__GNULD)__NON_GNULD = $(POUND_SIGN) - STATIC_UNIX = $(POUND_SIGN) USE_UTSTUNE = $(POUND_SIGN)