Commit 4637b0cb authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

component/flex: fix compilation on Fedora

this is needed for slapos-node package compilation
parent 04366e52
......@@ -14,5 +14,6 @@ md5sum = 2882e3179748cc9f9c23ec593d6adc8d
environment =
M4=${m4:location}/bin/m4
PATH=${bison:location}/bin:${xz-utils:location}/bin:%(PATH)s
# CFLAGS to workaround https://github.com/westes/flex/issues/442
CFLAGS=-g -O2 -D_GNU_SOURCE
# CFLAGS to workaround https://github.com/westes/flex/issues/442
# -fpic is needed to fix compilation on Fedora for slapos-node package
CFLAGS=-g -O2 -D_GNU_SOURCE -fpic
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment