The C file should not be guarded by the flags.
commit5796cebd4adfc60d31075f953fbdc24b22f0e41f
authorThomas M. DuBuisson <tommd@galois.com>
dateFri 30 May 2014, 10:41 (12 years ago)
parent9932e9a
entropy.cabal+2−2
@@ -43,14 +43,14 @@ library
4343 cpp-options: -DXEN -DHAVE_RDRAND
4444 if arch(x86_64)
4545 cpp-options: -Darch_x86_64
46− c-sources: cbits/rdrand.c
47− include-dirs: cbits
4846 if os(windows)
4947 cpp-options: -DisWindows
5048 extra-libraries: advapi32
5149 else
5250 if !flag(halvm)
5351 Build-Depends: unix
52+ c-sources: cbits/rdrand.c
53+ include-dirs: cbits
5454
5555source-repository head
5656 type: git