File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ MGLOB="$builddir/src/Makefile.global"
4545CPPFLAGS=` sed -n ' s/^CPPFLAGS[ ]*=[ ]*//p' " $MGLOB " `
4646CFLAGS=` sed -n ' s/^CFLAGS[ ]*=[ ]*//p' " $MGLOB " `
4747ICU_CFLAGS=` sed -n ' s/^ICU_CFLAGS[ ]*=[ ]*//p' " $MGLOB " `
48+ LLVM_CPPFLAGS=` sed -n ' s/^LLVM_CPPFLAGS[ ]*=[ ]*//p' " $MGLOB " `
4849CC=` sed -n ' s/^CC[ ]*=[ ]*//p' " $MGLOB " `
4950CXX=` sed -n ' s/^CXX[ ]*=[ ]*//p' " $MGLOB " `
5051PG_SYSROOT=` sed -n ' s/^PG_SYSROOT[ ]*=[ ]*//p' " $MGLOB " `
@@ -65,11 +66,11 @@ if $cplusplus; then
6566 -I* |-D* ) CXXPPFLAGS=" $CXXPPFLAGS $flag " ;;
6667 esac
6768 done
68- COMPILER_FLAGS=" $CXXPPFLAGS $CXXFLAGS $ICU_CFLAGS "
69+ COMPILER_FLAGS=" $CXXPPFLAGS $CXXFLAGS $ICU_CFLAGS $LLVM_CPPFLAGS "
6970else
7071 ext=c
7172 COMPILER=${CC:- gcc}
72- COMPILER_FLAGS=" $CPPFLAGS $CFLAGS $ICU_CFLAGS "
73+ COMPILER_FLAGS=" $CPPFLAGS $CFLAGS $ICU_CFLAGS $LLVM_CPPFLAGS "
7374fi
7475
7576# Create temp directory.
You can’t perform that action at this time.
0 commit comments