X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=scons%2Fgallium.py;h=7207c6bb26cefe6a37dda5d9e6be41974e01885a;hb=da2d98fac778ed717919c89395ea7c66f2d9c1b1;hp=e9496a8d5d848bb2c27ae0614cc45babde6ece31;hpb=e87a57843cd51bcf4bbe5eaefd20b04641824c9b;p=mesa.git diff --git a/scons/gallium.py b/scons/gallium.py index e9496a8d5d8..7207c6bb26c 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -361,8 +361,7 @@ def generate(env): ccflags += [ '-mstackrealign', # ensure stack is aligned '-march=i586', # Haiku target is Pentium - '-mtune=i686', # use i686 where we can - '-mmmx' # use mmx math where we can + '-mtune=i686' # use i686 where we can ] if env['machine'] == 'x86_64': ccflags += ['-m64'] @@ -500,6 +499,8 @@ def generate(env): libs = [] if env['platform'] in ('darwin', 'freebsd', 'linux', 'posix', 'sunos'): libs += ['m', 'pthread', 'dl'] + if env['platform'] in ('linux',): + libs += ['rt'] env.Append(LIBS = libs) # OpenMP