build debugging libxml2 with -g
This commit is contained in:
@@ -106,10 +106,19 @@ BUILD_ACTION=nmake
|
|||||||
BUILD_DIR=$(CONFIGURE_DIR)
|
BUILD_DIR=$(CONFIGURE_DIR)
|
||||||
.ENDIF
|
.ENDIF
|
||||||
.ELSE
|
.ELSE
|
||||||
|
|
||||||
|
.IF "$(debug)" != ""
|
||||||
|
xml2_CFLAGS+=-g
|
||||||
|
.ELSE
|
||||||
|
xml2_CFLAGS+=-O
|
||||||
|
.ENDIF
|
||||||
|
|
||||||
|
xml2_CFLAGS+=$(ARCH_FLAGS)
|
||||||
|
|
||||||
.IF "$(SYSBASE)"!=""
|
.IF "$(SYSBASE)"!=""
|
||||||
xml2_CFLAGS+=-I$(SYSBASE)$/usr$/include
|
xml2_CFLAGS+=-I$(SYSBASE)$/usr$/include
|
||||||
.IF "$(COMNAME)"=="sunpro5"
|
.IF "$(COMNAME)"=="sunpro5"
|
||||||
xml2_CFLAGS+=$(ARCH_FLAGS) $(C_RESTRICTIONFLAGS)
|
xml2_CFLAGS+=$(C_RESTRICTIONFLAGS)
|
||||||
.ENDIF # "$(COMNAME)"=="sunpro5"
|
.ENDIF # "$(COMNAME)"=="sunpro5"
|
||||||
xml2_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
|
xml2_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
|
||||||
.ENDIF # "$(SYSBASE)"!=""
|
.ENDIF # "$(SYSBASE)"!=""
|
||||||
@@ -121,7 +130,7 @@ CONFIGURE_FLAGS=--disable-shared
|
|||||||
.ELSE
|
.ELSE
|
||||||
CONFIGURE_FLAGS=--disable-static
|
CONFIGURE_FLAGS=--disable-static
|
||||||
.ENDIF
|
.ENDIF
|
||||||
CONFIGURE_FLAGS+=--enable-ipv6=no --without-python --without-zlib --with-sax1=yes ADDCFLAGS="$(xml2_CFLAGS) $(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
|
CONFIGURE_FLAGS+=--enable-ipv6=no --without-python --without-zlib --with-sax1=yes CFLAGS="$(xml2_CFLAGS) $(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
|
||||||
BUILD_ACTION=$(GNUMAKE)
|
BUILD_ACTION=$(GNUMAKE)
|
||||||
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
|
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
|
||||||
BUILD_DIR=$(CONFIGURE_DIR)
|
BUILD_DIR=$(CONFIGURE_DIR)
|
||||||
|
Reference in New Issue
Block a user