Index: trunk/debs/php5/debian/rules |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | |
34 | 34 | |
35 | 35 | PROG_SENDMAIL = /usr/sbin/sendmail |
36 | | -CFLAGS = -O2 -Wall -fsigned-char -fno-strict-aliasing |
| 36 | +CFLAGS = -O3 -Wall -fsigned-char -fno-strict-aliasing -ggdb3 |
37 | 37 | # LFS support |
38 | 38 | ifneq (yes,$(PHP5_COMPAT)) |
39 | 39 | CFLAGS += $(shell getconf LFS_CFLAGS) |
— | — | @@ -43,16 +43,6 @@ |
44 | 44 | CFLAGS += -mieee |
45 | 45 | endif |
46 | 46 | |
47 | | -ifeq ($(PHP5_HOST_GNU_TYPE), $(findstring $(PHP5_HOST_GNU_TYPE), ia64-linux powerpc64-linux)) |
48 | | - CFLAGS += -g |
49 | | -else |
50 | | - CFLAGS += -gstabs |
51 | | -endif |
52 | | - |
53 | | -ifneq (nostrip, $(findstring nostrip, $(DEB_BUILD_OPTIONS))) |
54 | | - install_strip = -s |
55 | | -endif |
56 | | - |
57 | 47 | # Old magic.mime location: |
58 | 48 | ifeq ($(wildcard /usr/share/misc/file/magic.mime), /usr/share/misc/file/magic.mime) |
59 | 49 | MAGIC_MIME = /usr/share/misc/file/magic.mime |
— | — | @@ -103,7 +93,8 @@ |
104 | 94 | --enable-zip \ |
105 | 95 | --with-mime-magic=$(MAGIC_MIME) \ |
106 | 96 | --with-exec-dir=/usr/lib/php5/libexec \ |
107 | | - --with-system-tzdata |
| 97 | + --with-system-tzdata \ |
| 98 | + --with-cdb |
108 | 99 | |
109 | 100 | BUILTIN_EXTENSION_CHECK=$$e=get_loaded_extensions(); natcasesort($$e); \ |
110 | 101 | $$s="The following extensions are built in:"; \ |
— | — | @@ -352,7 +343,7 @@ |
353 | 344 | mkdir -p debian/php5-$$package$${ext}; \ |
354 | 345 | chrpath debian/libapache2-mod-php5/$${ext}/$$dsoname.so; \ |
355 | 346 | chrpath -d debian/libapache2-mod-php5/$${ext}/$$dsoname.so; \ |
356 | | - install ${install_strip} -m 644 -o root -g root \ |
| 347 | + install -m 644 -o root -g root \ |
357 | 348 | debian/libapache2-mod-php5/$${ext}/$$dsoname.so \ |
358 | 349 | debian/php5-$$package$${ext}/$$dsoname.so; \ |
359 | 350 | rm debian/libapache2-mod-php5/$${ext}/$$dsoname.so; \ |
— | — | @@ -476,7 +467,6 @@ |
477 | 468 | done |
478 | 469 | dh_installcron -pphp5-common --name=php5 |
479 | 470 | dh_installchangelogs -pphp5-common NEWS |
480 | | - dh_strip -s |
481 | 471 | dh_link -s |
482 | 472 | dh_compress -s -Xphp.ini |
483 | 473 | dh_fixperms -s -X /var/lib/php5 |