make sure that there is a C and C++ compiler. Otherwise, we generate large amounts of spurious unrelated errors.
parent
31adc9851a
commit
6f4566aec7
6
build.py
6
build.py
|
@ -329,6 +329,12 @@ class Ns3:
|
|||
self.gen_mod_config(env)
|
||||
cc = env['CC']
|
||||
cxx = env.subst(env['CXX'])
|
||||
if cc == '':
|
||||
print "Missing C compiler."
|
||||
env.Exit (1);
|
||||
if cxx == '':
|
||||
print "Missing C++ compiler."
|
||||
env.Exit (1);
|
||||
common_flags = ARGUMENTS.get('cflags', '').split(' ')
|
||||
cxxflags = ARGUMENTS.get('cxxflags', '').split(' ')
|
||||
ldflags = ARGUMENTS.get('ldflags', '').split(' ')
|
||||
|
|
Loading…
Reference in New Issue