2010-09-22 16:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/config/rules.mk
    * added hack for some older GCC versions which do not enable
      preprocessor for .sx files
This commit is contained in:
Przemyslaw Czerpak
2010-09-22 14:58:45 +00:00
parent 2356181a10
commit 5841d12493
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-09-22 16:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/rules.mk
* added hack for some older GCC versions which do not enable
preprocessor for .sx files
2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicom.h
* harbour/src/rtl/hbcom.c

View File

@@ -60,7 +60,7 @@ ifeq ($(S_RULE),)
S_RULE = $(CC) $(subst $(CC_DIRSEPFROM),$(CC_DIRSEPTO),$(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(<F:.s=$(OBJ_EXT)) $(HB_CFLAGS_STA) $(CC_IN) $<)
endif
ifeq ($(SX_RULE),)
SX_RULE = $(CC) $(subst $(CC_DIRSEPFROM),$(CC_DIRSEPTO),$(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(<F:.sx=$(OBJ_EXT)) $(HB_CFLAGS_STA) $(CC_IN) $<)
SX_RULE = $(CC) $(subst $(CC_DIRSEPFROM),$(CC_DIRSEPTO),$(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(<F:.sx=$(OBJ_EXT)) $(HB_CFLAGS_STA) -x assembler-with-cpp $(CC_IN) $<)
endif
# The rule to compile a C++ source file.