Skip to content

Commit

Permalink
wscript: move to waifu
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jun 6, 2019
1 parent 9b328b4 commit e36175a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from waflib import Logs
import os
from fwgslib import get_flags_by_compiler

top = '.'

Expand All @@ -17,7 +16,7 @@ def options(opt):

def configure(conf):
# conf.env.CXX11_MANDATORY = False
conf.load('cxx11')
conf.load('fwgslib cxx11')
if not conf.env.HAVE_CXX11:
conf.env.append_unique('DEFINES', 'MY_COMPILER_SUCKS')

Expand All @@ -29,7 +28,7 @@ def configure(conf):
'default': ['-fno-rtti']
}

conf.env.append_unique('CXXFLAGS', get_flags_by_compiler(nortti, conf.env.COMPILER_CC))
conf.env.append_unique('CXXFLAGS', conf.get_flags_by_compiler(nortti, conf.env.COMPILER_CC))

if conf.env.DEST_OS == 'darwin' or conf.env.DEST_OS2 == 'android':
conf.env.USE_STBTT = True
Expand Down

0 comments on commit e36175a

Please sign in to comment.