[Pkg-voip-commits] r6482 - /pwlib/branches/experimental/debian/rules
dedu-guest at alioth.debian.org
dedu-guest at alioth.debian.org
Tue Nov 18 11:10:31 UTC 2008
Author: dedu-guest
Date: Tue Nov 18 11:10:31 2008
New Revision: 6482
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6482
Log:
Simplify rules file.
Modified:
pwlib/branches/experimental/debian/rules
Modified: pwlib/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/pwlib/branches/experimental/debian/rules?rev=6482&op=diff
==============================================================================
--- pwlib/branches/experimental/debian/rules (original)
+++ pwlib/branches/experimental/debian/rules Tue Nov 18 11:10:31 2008
@@ -19,19 +19,11 @@
endif
DIRNAME := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB)
-#SHLIBSVER := $(VER_MAJOR).$(VER_MINOR)
#DIRNAME := 2.4.1
PACKAGE=libpt$(DIRNAME)
-#SHLIBSVER (2.3.0) may differ from SHLIBSSUFFIX of the so (2.3-beta0)
-# replace 2.3beta0 (if without '-') with 2.3-beta0
-#SHLIBSSUFFIX := $(shell make -f make/common.mak print-version | sed -e 's/-*beta/-beta/')
-
-CFLAGS := -Wall -g -O2
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-endif
+CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
+LDFLAGS += -Wl,-z,def
# used for sed-ating out host specific data
@@ -45,10 +37,6 @@
else
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
-
-# Ensure the build aborts when there are still references to undefined
-# symbols.
-LDFLAGS += -Wl,-z,def
include /usr/share/dpatch/dpatch.make
More information about the Pkg-voip-commits
mailing list