Skip to content

Commit

Permalink
-std=c++11
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Apr 11, 2017
1 parent 657a8d4 commit f0c5a37
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 @@ def compile_test(header, library):
if platform.system() != 'Darwin':
LIBS.append('rt')


ARGS = ['-O3', '-DNDEBUG', '-DKENLM_MAX_ORDER=6']
#We don't need -std=c++11 but python seems to be compiled with it now. https://github.com/kpu/kenlm/issues/86
ARGS = ['-O3', '-DNDEBUG', '-DKENLM_MAX_ORDER=6', '-std=c++11']

if compile_test('zlib.h', 'z'):
ARGS.append('-DHAVE_ZLIB')
Expand Down

0 comments on commit f0c5a37

Please sign in to comment.