changeset 2966 | b6cb15e139ac |
parent 2204 | a2ef5d8b69d0 |
child 2967 | faa3111c009c |
--- a/jaxp/make/Makefile Thu May 14 10:58:01 2009 -0700 +++ b/jaxp/make/Makefile Wed May 20 13:45:44 2009 -0700 @@ -77,7 +77,15 @@ ifdef JAVAC_TARGET_ARG ANT_OPTIONS += -Djavac.target=$(JAVAC_TARGET_ARG) endif -endif +endif + +ifdef SOURCE_LANGUAGE_VERSION + ANT_OPTIONS += -Djavac.source=$(SOURCE_LANGUAGE_VERSION) +else + ifdef JAVAC_SOURCE_ARG + ANT_OPTIONS += -Djavac.source=$(JAVAC_SOURCE_ARG) + endif +endif ifdef ALT_BOOTDIR ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR)