package/prboom: avoid using hardcoded optimization flags
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Wed, 26 Jun 2019 12:58:58 +0000 (14:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 10:57:46 +0000 (12:57 +0200)
commit34bcc4c6b003087673cf5faf3a896154b9425f75
treecd223ab2f87959b080cdc7d3a62dcc6b0240c33a
parenteb8a7baa5090a6a0dff96d9bb2210c4760223877
package/prboom: avoid using hardcoded optimization flags

Package prboom builds using -O2 flag ignoring Buildroot settings, this
is due to the fact that -O2 is appended at the end of compiler flags.

Remove -O2 from 'configure.ac' file and set PRBOOM_AUTORECONF to YES,
this way CFLAGS_OPTS will contain Buildroot TARGET_CFLAGS.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch [new file with mode: 0644]
package/prboom/prboom.mk