mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 01:52:01 +00:00
[RBUILD]
For amd64 builds, invoke wrc directly, instead of using gcc to preprocess the files. The reason is that newer gcc versions (like 4.5.0) don't support multiline continuation (backslash-newline) except for preprocessor directives, but that breaks wine resource strings. This might have to be done for i386 builds too, sooner or later. svn path=/trunk/; revision=48128
This commit is contained in:
parent
0228d0009e
commit
ba97a937c2
1 changed files with 4 additions and 0 deletions
|
@ -227,7 +227,11 @@ else
|
|||
|
||||
${call RBUILD_intermediate_path_unique,$(1),$(2)}.res: $(2) $(3) $$(wrc_TARGET) | ${call RBUILD_intermediate_dir,$(2)}
|
||||
$$(ECHO_RC)
|
||||
ifeq ($(ARCH),amd64)
|
||||
$$(Q)$$(wrc_TARGET) --input=$$< -o $$@ ${call RBUILD_rc_pp_flags,$(1),$(4)} ${call RBUILD_rc_flags,$(1),$(4),-I${call RBUILD_dir,$(2)}}
|
||||
else
|
||||
${call RBUILD_PIPE_CPP,$$<,${call RBUILD_rc_pp_flags,$(1),$(4)}} | $$(wrc_TARGET) -o $$@ ${call RBUILD_rc_flags,$(1),$(4),-I${call RBUILD_dir,$(2)}}
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue