Skip to content

Commit 7c1a692

Browse files
committed
Review
1 parent 7d3e4b4 commit 7c1a692

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

build/Makefile.global

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,5 @@ prof-use:
160160
fi; \
161161
fi;
162162

163-
$(srcdir)/main/gdb_inlined_script.c: $(srcdir)/tools/gdb/gen_gdb_inlined_script.php
164-
@if test ! -z "$(PHP)"; then \
165-
$(PHP) $(srcdir)/tools/gdb/gen_gdb_inlined_script.php; \
166-
fi;
167-
168163
.PHONY: all clean install distclean test prof-gen prof-clean prof-use
169164
.NOEXPORT:

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,13 @@ PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c \
17111711

17121712
if printf "#if __ELF__\nelf\n#endif\n" | $CC -E - | grep elf > /dev/null; then
17131713
PHP_ADD_SOURCES(main, gdb_inlined_script.c)
1714+
1715+
cat >> Makefile.objects <<EOF
1716+
$abs_srcdir/main/gdb_inlined_script.c: $abs_srcdir/scripts/gdb/gen_gdb_inlined_script.php $abs_srcdir/scripts/gdb/php_gdb.py $abs_srcdir/scripts/gdb/php_gdb.gdb
1717+
@if test ! -z "\$(PHP)"; then \\
1718+
\$(PHP) $abs_srcdir/scripts/gdb/gen_gdb_inlined_script.php; \\
1719+
fi;
1720+
EOF
17141721
fi
17151722

17161723
PHP_ADD_SOURCES_X(main, fastcgi.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1, PHP_FASTCGI_OBJS, no)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)