7003456: ADLC files not correctly generated on Windows
Summary: Added target architecture parameters to make ADLC build properly
Reviewed-by: never, stefank
--- 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" \