Mailinglist Archive: opensuse-packaging (222 mails)

< Previous Next >
[opensuse-packaging] Help with scons langauage needed
  • From: Philipp Thomas <pth@xxxxxxx>
  • Date: Thu, 22 Apr 2010 15:19:28 +0200
  • Message-id: <20100422131928.GH6264@xxxxxxxxxxxxxxxx>
From then SConstruct of libzzub:

gcc = env['CC'] == 'gcc'
cl = env['CC'] == 'cl'

if gcc:
#env['CXXFLAGS'] += ['--no-rtti']
if env['DEBUG'] == False:
env.Append(CCFLAGS=[
'-O3',
'-fomit-frame-pointer',
'-funroll-loops',
'-DNDEBUG',
])
else:
env.Append(CCFLAGS=[
'-g',
'-DDEBUG',
'-D_DEBUG',
])
if env['SSE2'] == True:
if not x86_64:
env.Append(CCFLAGS=[
'-march=i686',
])
env.Append(CCFLAGS=[
'-mfpmath=sse',
'-msse2',
])
elif env['SSE'] == True:
if not x86_64:
env.Append(CCFLAGS=[
'-march=i686',
])
env.Append(CCFLAGS=[
'-mfpmath=sse',
'-msse',
])

How do I splice in RPM_OPT_FLAGS?

Thanks in advance
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >