makepanda: Add missing YY_NO_UNISTD_H to built Flex sources

Closes #1028
This commit is contained in:
Daniel 2020-10-02 01:25:45 +03:00 committed by rdb
parent 4b7e32e9b0
commit 5443f62068

View File

@ -1643,7 +1643,7 @@ def CompileFlex(wobj,wsrc,opts):
oscmd(flex + " -P" + pre + " -o"+wdst+" "+wsrc)
# Finally, compile the generated source file.
CompileCxx(wobj,wdst,opts)
CompileCxx(wobj, wdst, opts + ["FLEX"])
########################################################################
##