Skip to content

Commit

Permalink
Static linking on build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 24, 2024
1 parent edd31d1 commit f7c4ea2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
'-pipe', '-Ofast', '-s', '-std=c++17', '-fopenmp', '-mmmx',
'-msse', '-msse2', '-msse3', '-msse4', '-msse4.1', '-msse4.2',
'-mavx', '-mavx2', '-mfma', '-mfpmath=sse',
'-march=native', '-funroll-loops', '-ffast-math'
'-march=native', '-funroll-loops', '-ffast-math',
'-static', '-static-libgcc', '-static-libstdc++'
]

if PLATFORM != 'Windows':
Expand Down

0 comments on commit f7c4ea2

Please sign in to comment.