7003456: ADLC files not correctly generated on Windows
authorbrutisso
Wed, 01 Dec 2010 03:12:35 -0800
changeset 7404 880f771f1781
parent 7403 56d379ba4a3c
child 7406 d75901f1ef71
7003456: ADLC files not correctly generated on Windows Summary: Added target architecture parameters to make ADLC build properly Reviewed-by: never, stefank
hotspot/make/windows/makefiles/adlc.make
--- a/hotspot/make/windows/makefiles/adlc.make	Tue Nov 30 18:10:20 2010 -0800
+++ b/hotspot/make/windows/makefiles/adlc.make	Wed Dec 01 03:12:35 2010 -0800
@@ -46,7 +46,15 @@
 ADLCFLAGS=-q -T -U_LP64
 !endif
 
-CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE  
+CPP_FLAGS=$(CPP_FLAGS) \
+  /D TARGET_OS_FAMILY_windows \
+  /D TARGET_ARCH_$(Platform_arch) \
+  /D TARGET_ARCH_MODEL_$(Platform_arch_model) \
+  /D TARGET_OS_ARCH_windows_$(Platform_arch) \
+  /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model) \
+  /D TARGET_COMPILER_visCPP
+
+CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE
 
 CPP_INCLUDE_DIRS=\
   /I "..\generated" \