From 3fcd356eaf6c50b8ff343f3acb615a5577677e78 Mon Sep 17 00:00:00 2001 From: joshvera Date: Tue, 28 Mar 2017 16:25:22 -0400 Subject: [PATCH] Specify c99 --- languages/javascript/javascript.cabal | 2 ++ languages/typescript/typescript.cabal | 2 ++ 2 files changed, 4 insertions(+) diff --git a/languages/javascript/javascript.cabal b/languages/javascript/javascript.cabal index 8882ce340..9771bd822 100644 --- a/languages/javascript/javascript.cabal +++ b/languages/javascript/javascript.cabal @@ -19,6 +19,8 @@ library default-language: Haskell2010 c-sources: vendor/tree-sitter-javascript/src/parser.c , vendor/tree-sitter-javascript/src/scanner.c + cc-options: -std=c99 -Os + source-repository head type: git diff --git a/languages/typescript/typescript.cabal b/languages/typescript/typescript.cabal index 331ba50d1..27424dba1 100644 --- a/languages/typescript/typescript.cabal +++ b/languages/typescript/typescript.cabal @@ -19,6 +19,8 @@ library default-language: Haskell2010 c-sources: vendor/tree-sitter-typescript/src/parser.c , vendor/tree-sitter-typescript/src/scanner.c + cc-options: -std=c99 -Os + source-repository head type: git