From 5443f6206834cb9a95ba974756314f69ceea5d87 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 2 Oct 2020 01:25:45 +0300 Subject: [PATCH] makepanda: Add missing YY_NO_UNISTD_H to built Flex sources Closes #1028 --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index c00a6203b1..bcdca0bea0 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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"]) ######################################################################## ##