Hello,
I followed the instructions on the front page. I tried to push to
`/refs/mob/...` but it was refused. It seems my patch is at the tip of
`mob` right now.
The commit is: 3ead10dd94d7080b54c20da1eb07c7b383fda058
I was trying to build `tcc` on OBS (build.opensuse.org), from `mob`, for
multiple distros, and I had lots of issues, until I implemented this
patch. It seemed appropriate to submit it here. Sorry if I broke someone
else's pipelines.
diff --git c/configure w/configure
index e7735a4e..703ab63f 100755
--- c/configure
+++ w/configure
@@ -56,7 +56,9 @@ build_cross=
# use CC/AR from environment when set
test -n "$CC" && cc="$CC"
test -n "$AR" && ar="$AR"
-test -n "CFLAGS" && CFLAGS="-Wall -O2"
+
+# set default CFLAGS if unset in environment
+test -z "$CFLAGS" && CFLAGS="-Wall -O2"
# find source path
source_path=${0%configure}
Respectfully,
*Boian Berberov*
_________________________
*NOTICE:* This email account is hosted on Google Workspace
<https://en.wikipedia.org/wiki/Google_Workspace>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel