2009-11-23 22:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Fixed to use '-ofilename' to spec C compiler object
output, instead '-o filename'. Following linux/clang.mk.
(There is utter chaos with this -o option)
* config/darwin/clang.mk
+ Documented fact that '-ofilename' also works (just
like in linux/clang).
* config/linux/gcc.mk
* config/linux/icc.mk
* config/linux/clang.mk
* config/linux/sunpro.mk
* config/linux/global.mk
% Moved strip configuration to global.mk.
This commit is contained in:
@@ -17,6 +17,23 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-11-23 22:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Fixed to use '-ofilename' to spec C compiler object
|
||||
output, instead '-o filename'. Following linux/clang.mk.
|
||||
(There is utter chaos with this -o option)
|
||||
|
||||
* config/darwin/clang.mk
|
||||
+ Documented fact that '-ofilename' also works (just
|
||||
like in linux/clang).
|
||||
|
||||
* config/linux/gcc.mk
|
||||
* config/linux/icc.mk
|
||||
* config/linux/clang.mk
|
||||
* config/linux/sunpro.mk
|
||||
* config/linux/global.mk
|
||||
% Moved strip configuration to global.mk.
|
||||
|
||||
2009-11-23 22:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
+ Turn on detailed maps for bcc targets when -map option is used.
|
||||
|
||||
@@ -19,8 +19,7 @@ ifneq ($(filter --analyze, $(HB_USER_CFLAGS)),)
|
||||
else
|
||||
CC_IN := -c
|
||||
endif
|
||||
# NOTE: The ending space after -o is important, please preserve it.
|
||||
# Now solved with '$(subst x,x, )' expression.
|
||||
# NOTE: Works also without the ending space after -o.
|
||||
CC_OUT := -o$(subst x,x, )
|
||||
|
||||
CFLAGS := -I. -I$(HB_INC_COMPILE)
|
||||
|
||||
@@ -38,14 +38,6 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
|
||||
ARSTRIP = && strip -S $(LIB_DIR)/$@
|
||||
endif
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
|
||||
LDSTRIP := -s
|
||||
DYSTRIP := -s
|
||||
endif
|
||||
|
||||
LD := $(HB_CCACHE) $(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
LD_OUT := -o
|
||||
|
||||
|
||||
@@ -33,14 +33,6 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
|
||||
ARSTRIP = && strip -S $(LIB_DIR)/$@
|
||||
endif
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
|
||||
LDSTRIP := -s
|
||||
DYSTRIP := -s
|
||||
endif
|
||||
|
||||
LD := $(HB_CCACHE) $(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
LD_OUT := -o
|
||||
|
||||
|
||||
@@ -9,3 +9,11 @@ DYN_EXT := .so
|
||||
DYN_PREF := lib
|
||||
|
||||
HB_GT_LIBS += gttrm
|
||||
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
|
||||
ARSTRIP = && strip -S $(LIB_DIR)/$@
|
||||
endif
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
|
||||
LDSTRIP := -s
|
||||
DYSTRIP := -s
|
||||
endif
|
||||
|
||||
@@ -38,14 +38,6 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
|
||||
ARSTRIP = && strip -S $(LIB_DIR)/$@
|
||||
endif
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
|
||||
LDSTRIP := -s
|
||||
DYSTRIP := -s
|
||||
endif
|
||||
|
||||
LD := $(HB_CCACHE) $(HB_CMP)
|
||||
LD_OUT := -o
|
||||
|
||||
|
||||
@@ -53,14 +53,6 @@ ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
|
||||
ARSTRIP = && strip -S $(LIB_DIR)/$@
|
||||
endif
|
||||
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
|
||||
LDSTRIP := -s
|
||||
DYSTRIP := -s
|
||||
endif
|
||||
|
||||
LD := $(HB_CCACHE) $(HB_CCPATH)$(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
LD_OUT := -o$(subst x,x, )
|
||||
|
||||
|
||||
@@ -2226,7 +2226,12 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
|
||||
ENDIF
|
||||
cOpt_CompC += " {FC}"
|
||||
IF hbmk[ _HBMK_lINC ] .AND. ! Empty( cWorkDir )
|
||||
cOpt_CompC += " {IC} -o {OO}"
|
||||
IF hbmk[ _HBMK_cPLAT ] == "linux" .AND. hbmk[ _HBMK_cCOMP ] == "clang"
|
||||
/* NOTE: It's also accepted by darwin/clang */
|
||||
cOpt_CompC += " {IC} -o{OO}"
|
||||
ELSE
|
||||
cOpt_CompC += " {IC} -o {OO}"
|
||||
ENDIF
|
||||
ELSE
|
||||
cOpt_CompC += " {LC}"
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user