Skip to content

Commit

Permalink
Remove extra_compile_args
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Oct 6, 2023
1 parent 202426f commit 5ca2d04
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions setup.py
Expand Up @@ -6,21 +6,7 @@
if line.startswith("#define VERSION "):
VERSION = eval(line.rsplit(None, 1)[-1])

if os.name == 'posix':
extra_compile_args = [
"-std=c99",
"-O3",
"-Wall",
"-W",
"-Wundef",
# ref: http://bugs.python.org/issue21121
"-Wno-error=declaration-after-statement",
]
else:
extra_compile_args = None

extension = Extension('xxtea', ['xxtea.c'],
extra_compile_args=extra_compile_args)
extension = Extension('xxtea', ['xxtea.c'])

setup(
name="xxtea",
Expand Down

0 comments on commit 5ca2d04

Please sign in to comment.