Skip to content

Commit dba430c

Browse files
committed
[TEMPFIX] Add -static to system-gcc because who cares about macOS
1 parent 21a556e commit dba430c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sio/compilers/system_gcc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ def _make_cmdline(self, executor):
2828
class CCompiler(CStyleCompiler):
2929
compiler = 'gcc'
3030
# Without -static as there is no static compilation on Mac
31-
options = ['-O2', '-s', '-lm']
31+
options = ['-static', '-O2', '-s', '-lm']
3232

3333

3434
class CPPCompiler(CStyleCompiler):
3535
lang = 'cpp'
3636
compiler = 'g++'
37-
options = ['-std=gnu++0x', '-O2', '-s', '-lm']
37+
options = ['-std=gnu++0x', '-static', '-O2', '-s', '-lm']
3838

3939

4040
def run_gcc(environ):

0 commit comments

Comments
 (0)