1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 03:09:48 +03:00

Load Paths_semantic.hs correctly.

Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
This commit is contained in:
Rob Rix 2020-01-27 14:22:52 -05:00
parent 289785d3e4
commit 671a26c389
No known key found for this signature in database
GPG Key ID: 2BE643E01DC032AE

View File

@ -26,11 +26,11 @@ function flags {
# preprocessor options, for -XCPP
echo "-optP-include"
echo "-optP$build_products_dir/autogen/cabal_macros.h"
echo "-optPdist-newstyle/build/x86_64-osx/ghc-$ghc_version/semantic-0.10.0.0/build/autogen/cabal_macros.h"
# autogenerated sources, both .hs and .h (e.g. Foo_paths.hs)
echo "-i$build_products_dir/autogen"
echo "-I$build_products_dir/autogen"
echo "-idist-newstyle/build/x86_64-osx/ghc-$ghc_version/semantic-0.10.0.0/build/autogen"
echo "-Idist-newstyle/build/x86_64-osx/ghc-$ghc_version/semantic-0.10.0.0/build/autogen"
# .hs source dirs
# TODO: would be nice to figure this out from cabal.project & the .cabal files