diff options
author | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2010-05-29 10:13:54 -0400 |
---|---|---|
committer | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2010-05-29 10:13:56 -0400 |
commit | 574ffac9f5d290933e8c0678c430fa8eabc962d0 (patch) | |
tree | 78a357fbf1d440af5c459d2109d237feec621621 | |
parent | 6dec36f2324f29aa0acc598564a1a0eb8348fd73 (diff) | |
download | pycrypto-574ffac9f5d290933e8c0678c430fa8eabc962d0.tar.gz |
Tell GCC to compile using the C99 standard
This should fix building on FreeBSD and NetBSD.
-rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -121,6 +121,9 @@ class PCTBuildExt (build_ext): # Tweak compiler options if self.compiler.compiler_type in ('unix', 'cygwin', 'mingw32'): + # Tell GCC to compile using the C99 standard. + self.__add_compiler_option("-std=c99") + # Make assert() statements always work self.__remove_compiler_option("-DNDEBUG") |