Commit 06156d3
committed
rpm: hotfix - disable automatic setting of hardening flags
New Fedora distributions add additional hardening flags to compiler and
linker etc. by default in rpmbuild.
However, this change breaks configure checks and the build process fails
with:
```
configure: error: in `/builddir/build/BUILD/ipfixprobe-4.7.1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
```
The cause is probably:
`LDFLAGS=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld`
when this particular flag is removed, the build (and configure works).
This patch is considered a temporary solution to build new package.
The situation should be investigated in more details.1 parent 5ce7c98 commit 06156d3
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments