SConscript (9902:55cddee143f0) | SConscript (10480:5d4ebc92d32e) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013 Andreas Sandberg 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35fpenv = main.Clone() 36 37# By default gcc uses c89 and clang uses c99. For fputils to compile 38# we need to use c99. 39if fpenv['GCC']: 40 fpenv.Append(CCFLAGS=['-std=c99']) 41 42fpenv.Library('fputils', [ | 1# -*- mode:python -*- 2 3# Copyright (c) 2013 Andreas Sandberg 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35fpenv = main.Clone() 36 37# By default gcc uses c89 and clang uses c99. For fputils to compile 38# we need to use c99. 39if fpenv['GCC']: 40 fpenv.Append(CCFLAGS=['-std=c99']) 41 42fpenv.Library('fputils', [ |
43 fpenv.SharedObject('fp64.c'), |
|
43 fpenv.SharedObject('fp80.c'), 44 ]) 45 46main.Append(LIBS=['fputils']) 47main.Prepend(LIBPATH=[Dir('.')]) 48 | 44 fpenv.SharedObject('fp80.c'), 45 ]) 46 47main.Append(LIBS=['fputils']) 48main.Prepend(LIBPATH=[Dir('.')]) 49 |