zmqpp: fix build with or1k and gcc < 6
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 5 May 2018 09:43:04 +0000 (11:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 20 May 2018 10:46:35 +0000 (12:46 +0200)
commit7ab59879c798b56fb0dc203a8d55df712709a34f
treefeb94e93da5cee8e93de0075b32d72746f1275dd
parentc6c9b95ccd422f146047f3eb4d2c201009bbdb3c
zmqpp: fix build with or1k and gcc < 6

Use CONFIG variable to disable optimizations when or1k and gcc < 6 are
detected otherwise set CONFIG to release or debug depending on
BR2_ENABLE_DEBUG

Fixes:
 - http://autobuild.buildroot.net/results/523e58eefba7ef23a09ef53160da22190ccbb098

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/zmqpp/zmqpp.mk