Apply same flags when building with SOURCES= as when building normally. This fixes the issue which prompted "model1: clear up some memory issues with very recent gcc (nw)" (which only occurred in a SOURCES= build). (nw)

This commit is contained in:
smf- 2018-03-15 15:53:23 +00:00
parent 1db4f6bac0
commit 78f0aff27f

View file

@ -229,6 +229,7 @@ if sys.argv[3]=='target':
sys.stdout.write(' targetsubdir(_target .."_" .. _subtarget)\n')
sys.stdout.write(' kind (LIBTYPE)\n')
sys.stdout.write(' uuid (os.uuid("drv-mame-%s"))\n' % sys.argv[4])
sys.stdout.write(' addprojectflags()\n')
sys.stdout.write(' \n')
sys.stdout.write(' includedirs {\n')
sys.stdout.write(' MAME_DIR .. "src/osd",\n')