From 0f193a65abc2062de16e73ff67bd934a6ce6df75 Mon Sep 17 00:00:00 2001 From: brutisso Date: Wed, 1 Dec 2010 03:12:35 -0800 Subject: [PATCH] 7003456: ADLC files not correctly generated on Windows Summary: Added target architecture parameters to make ADLC build properly Reviewed-by: never, stefank --- make/windows/makefiles/adlc.make | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/make/windows/makefiles/adlc.make b/make/windows/makefiles/adlc.make index 863ce07d3..b3ba4110f 100644 --- a/make/windows/makefiles/adlc.make +++ b/make/windows/makefiles/adlc.make @@ -46,7 +46,15 @@ ADLCFLAGS=-q -T -D_LP64 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" \ -- GitLab