ports/net/xmlrpc-c/patches/patch-common_mk

27 lines
873 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: common.mk
--- common.mk.orig
+++ common.mk
@@ -49,11 +49,11 @@ CFLAGS_COMMON = -DNDEBUG
CXXFLAGS_COMMON = -DNDEBUG
ifeq ($(C_COMPILER_GNU),yes)
- CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
+ CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common
endif
ifeq ($(CXX_COMPILER_GNU),yes)
- CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
+ CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS)
endif
# -qrtti tell the IBM compilers to allow dynamic type casting. Without it,
@@ -69,7 +69,7 @@ DISTDIR = $(BLDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
# MAJ is the major version number, but is set separately by
# individual make files so that the major number of one library can change
# from one release to another while the major number of another does not.
-MIN = $(XMLRPC_MINOR_RELEASE)
+MIN = $(LIB_MIN)
# CURDIR was introduced in GNU Make 3.77.
ifeq ($(CURDIR)x,x)