From ac190fb98529545a169791ad987eae710e150e3e Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 18 Dec 2015 13:18:10 -0500 Subject: cc-options to allow ghci to load midi-dump again loading axis in ghci still does not work (because of SDL), but the option is added there anyway. --- axis-of-eval.cabal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/axis-of-eval.cabal b/axis-of-eval.cabal index 7042669..ef1bbe7 100644 --- a/axis-of-eval.cabal +++ b/axis-of-eval.cabal @@ -22,6 +22,7 @@ executable axis main-is: axis.hs ghc-options: -threaded -W -Wall -O2 other-modules: AlsaSeq, AlsaShutUp + cc-options: -fPIC c-sources: alsa_shut_up.c executable rtq @@ -43,4 +44,5 @@ executable midi-dump main-is: midi-dump.hs other-modules: AlsaSeq, Midi, RealTimeQueue, AlsaShutUp ghc-options: -threaded -W -Wall -O2 -rtsopts + cc-options: -fPIC c-sources: alsa_shut_up.c -- cgit v1.2.3