diff --git a/hpvm/tools/hpvm-clang/main.py.in b/hpvm/tools/hpvm-clang/main.py.in
index 7d06266232424ba68ed369d7843682c0e9bd02d6..720c1e0caa3c3ff7b79897156e683ab1895b4527 100644
--- a/hpvm/tools/hpvm-clang/main.py.in
+++ b/hpvm/tools/hpvm-clang/main.py.in
@@ -237,7 +237,7 @@ def hpvm_c_to_ll(
     std: str = None,  # --std=c++11
 ) -> List[str]:
     includes = (extra_includes or []) + INCLUDE_DIRS
-    includes_s = [f"-I{path}" for path in includes]
+    includes_s = [f"-I{path}" for path in includes if path != ""]
     macros = [f"-D{macro}" for macro in (macros or [])]
     flags = [f"-f{flg}" for flg in (flags or [])]
     if std: