浏览代码

Use default CFLAGS

bryan 5 天之前
父节点
当前提交
a40ac543e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -592,7 +592,7 @@ from_source() {
   ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))")
 
   # Make image
-  if ! execute ionice -c 3 chrt --idle 0 nice -n19 make HOST_CFLAGS="-std=c17" "${make_opts[@]}" world; then
+  if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then
     echo "Error: make failed"
     return 1
   fi