Pass preprocessor options to C compiler when building foreign C files (#16737)
authorZejun Wu <watashi@fb.com>
Tue, 4 Jun 2019 22:25:10 +0000 (15:25 -0700)
committerBen Gamari <ben@smart-cactus.org>
Sun, 23 Jun 2019 17:27:12 +0000 (13:27 -0400)
commit1c18d3b41f897f34a93669edaebe6069f319f9e2
tree8e81dd7f20d6a25c2d48caaf33710fdc7e0a2758
parentc1c0ce7ad45a24042175f2b0d2eb466a769ba29d
Pass preprocessor options to C compiler when building foreign C files (#16737)

(cherry picked from commit cfd3e0f1cfd16c8f35cae139d2a871a32eb4d2e1)
compiler/main/DriverPipeline.hs
testsuite/tests/driver/T16737.hs [new file with mode: 0644]
testsuite/tests/driver/T16737.stdout [new file with mode: 0644]
testsuite/tests/driver/T16737include/T16737.h [new file with mode: 0644]
testsuite/tests/driver/all.T