developer/golang: update to 1.23
[oi-userland.git] / components / network / tuntap / patches / cflags.patch
blob4d67415f4a43ffa9dccd8eba2c581dd2eff799a3
1 diff -wpruN '--exclude=*.orig' a~/configure.in a/configure.in
2 --- a~/configure.in 1970-01-01 00:00:00
3 +++ a/configure.in 1970-01-01 00:00:00
4 @@ -75,17 +75,7 @@ case $KARCH in
5 ;;
6 'amd64')
7 CFLAGS="$CFLAGS -m64"
8 - if test "$GCC" = yes; then
9 - if test "$GCC_MAJOR_VERSION" -ge 4 \
10 - -a "$MINOR_VERSION" -ge 5 ; then
11 - KCFLAGS="$KCFLAGS -m64 -mcmodel=large -mno-red-zone"
12 - else
13 - KCFLAGS="$KCFLAGS -m64 -mcmodel=kernel -mno-red-zone"
14 - fi
16 - else
17 - KCFLAGS="$KCFLAGS -m64 -xmodel=kernel"
18 - fi
19 + KCFLAGS="$KCFLAGS -m64"
20 DRV_DIR="/usr/kernel/drv/amd64"
21 if test -n "$IS_GNU_LD";
22 then