Skip to content

Commit

Permalink
Definition for __TERMUX__ on build script for Termux platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 10, 2024
1 parent 28cb015 commit 209daf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def get_ext_instructions():
'-Wunused-value', '-Wunused-variable', '-Wvariadic-macros', '-O3',
'-Wvolatile-register-var', '-Wwrite-strings', '-pipe', '-ffast-math', '-s',
'-std=c++20', '-fopenmp'] + ext_instructions + ['-march=native',
'-funroll-loops', '-ffast-math'
'-funroll-loops', '-ffast-math', '-D__TERMUX__'
] + cpp_files

core_build_args = exe_build_args + [
Expand Down

0 comments on commit 209daf6

Please sign in to comment.