diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2018-05-12 11:41:12 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <ahmad@a3f.at> | 2018-05-12 11:41:12 +0200 |
| commit | c1b9104d54814b4084e0d7b113918a6d014e807e (patch) | |
| tree | 0dfab922e6edffbb525b76cce76691d4fe56b76a /projects/CodeBlocks | |
| parent | 2d6fb5c628068757387525e190c3afdbe33ae9c6 (diff) | |
| download | raylib-c1b9104d54814b4084e0d7b113918a6d014e807e.tar.gz raylib-c1b9104d54814b4084e0d7b113918a6d014e807e.zip | |
Makefile: Remove unnecessary -no-pie for older GCC support
Currently, if:
* GCC doesn't supports -no-pie: Build error
* GCC supports -no-pie
* GCC is not configured with --enable-default-pie: No-op
* GCC is configured with --enable-default-pie:
Slightly worse performance because we still generate -fpie code
(-pie affects linker, -fpie affects compiler)
So instead of probing for existence of -fno-pie -no-pie, remove it altogether.
Fixes #540: Build breakage on Debian 8 with gcc 4.9.
Diffstat (limited to 'projects/CodeBlocks')
0 files changed, 0 insertions, 0 deletions
