Skip to content

Commit

Permalink
Added -lm C compile argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcubillos committed May 30, 2024
1 parent 419e299 commit 1923cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
cfiles = list(filter(lambda x: not re.search('[.#].+[.]c$', x), cfiles))

inc = [get_include(), incdir]
eca = ['-O3', '-ffast-math']
ela = []
eca = ['-lm', '-O3', '-ffast-math']
ela = ['-lm']

extensions = [
Extension(
Expand Down

0 comments on commit 1923cef

Please sign in to comment.