Pārlūkot izejas kodu

Use default CFLAGS

bryan 6 dienas atpakaļ
vecāks
revīzija
a40ac543e9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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