Skip to content

Commit 0069c55

Browse files
committed
Enable --with-pie by default
1 parent ce67233 commit 0069c55

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ PHP_ARG_WITH([pie],
11951195
[whether to install PIE],
11961196
[AS_HELP_STRING([[--with-pie[=DIR]]],
11971197
[Install PIE in DIR [PREFIX/bin]])],
1198-
[no],
1198+
[yes],
11991199
[yes])
12001200

12011201
AS_VAR_IF([PHP_PIE], [no],, [

pie/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# PIE downloader
22

3-
When building PHP, supply the `--with-pie` flag. This will attempt to download
4-
the latest stable version of PIE, using `curl`, `wget`, `fetch`, or a PHP script.
3+
When building PHP, the `--with-pie` flag is enabled by default. This will
4+
attempt to download the latest stable version of PIE, using `curl`, `wget`,
5+
`fetch`, or a PHP script.
56

67
By default it will download PIE to `$prefix/bin/pie`. You can change
78
the target path, e.g. `--with-pie=/usr/local/bin`, which will cause PIE to be
@@ -10,3 +11,5 @@ downloaded to `/usr/local/bin/pie`.
1011
If the `gh` CLI tool exists on the system, it will be used to verify that the
1112
PIE that is downloaded was built within PHP's CI system. If not, the
1213
`pie self-verify` command is used, but this has limited benefit.
14+
15+
To build PHP without PIE, supply the `--without-pie` flag.

0 commit comments

Comments
 (0)