2014-10-07 10:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* config/win/msvc.mk
  * utils/hbmk2/hbmk2.prg
    * disabled -nologo option used with resource compiler in MSVC builds.
      Compiler version is not enough to detect supported parameters when
      Platform SDK rc.exe is used.
This commit is contained in:
Przemysław Czerpak
2014-10-07 10:58:04 +02:00
parent e5897132b8
commit 6d2e59b103
3 changed files with 15 additions and 3 deletions

View File

@@ -61,9 +61,11 @@ RC := rc.exe
RC_OUT := -fo$(subst x,x, )
RCFLAGS += -I. -I$(HB_HOST_INC)
# Windows SDK 7.0 also supports it, but we cannot detect it.
ifeq ($(filter $(HB_COMPILER_VER),1200 1300 1310 1400 1500),)
RCFLAGS += -nologo
endif
# # NOTE: Compiler version is not enough to detect supported
# # parameters when Platform SDK rc.exe is used.
# ifeq ($(filter $(HB_COMPILER_VER),1200 1300 1310 1400 1500),)
# RCFLAGS += -nologo
# endif
# # NOTE: -GA flag should be disabled when building MT _.dlls_,
# # as it creates bad code according to MS docs [vszakats].