Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
prepare for rebuilding
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxunlp committed Nov 14, 2019
1 parent 6465b3a commit 9a4d262
Show file tree
Hide file tree
Showing 11 changed files with 645 additions and 643 deletions.
14 changes: 8 additions & 6 deletions toolchain-mipsel/build_toolchain_O3
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if [ "$DO_UNPACK" = "YES" ]; then
[ -f ${i} ] && patch -p1 < ${i}
done
cd ..
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
fi

if [ "$DO_HEADERS" = "YES" ]; then
Expand All @@ -123,7 +123,7 @@ if [ "$DO_HEADERS" = "YES" ]; then
rm -rf "$PREFIX/usr/include"
cp -rf "$TARGET_DIR/include" "$PREFIX/include"
cp -fv ${ID_UCLIBC}.config $ID_UCLIBC/.config
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
make -C $ID_UCLIBC install_headers
mkdir -p "$PREFIX/usr"
ln -sf ../include "$PREFIX/usr/include"
Expand All @@ -135,7 +135,7 @@ if [ "$DO_BINUTILS" = "YES" ]; then
(../$ID_BINUTILS/configure --target=$TARGET --prefix="$PREFIX" \
--with-sysroot="$PREFIX" --with-build-sysroot="$PREFIX" \
--disable-nls --disable-werror --disable-multilib &&
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
make -j${HOST_NCPU} && \
make install) || exit 1
cd ..
Expand All @@ -152,7 +152,7 @@ if [ "$DO_GCC" = "YES" ]; then
--disable-libgomp --disable-nls \
--with-sysroot="$PREFIX" \
--enable-languages=c && \
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
make -j${HOST_NCPU} && \
make install) || exit 1
cd ..
Expand All @@ -161,7 +161,7 @@ fi
if [ "$DO_UCLIBC" = "YES" ]; then
echo "=====================BUILD-UCLIBC======================="
cp -fv ${ID_UCLIBC}.config $ID_UCLIBC/.config
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
cd $ID_UCLIBC
(make -j${HOST_NCPU} && \
make install) || exit 1
Expand All @@ -179,12 +179,14 @@ if [ "$DO_GCCCPP" = "YES" ]; then
--disable-libgomp --disable-nls \
--with-sysroot="$PREFIX" \
--enable-languages=c++ && \
pypy /media/Storage/workspace/router/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3
make -j${HOST_NCPU} all-host all-target-libgcc all-target-libstdc++-v3 && \
make install-host install-target-libgcc install-target-libstdc++-v3) || exit 1
cd ..
fi

pypy /media/Storage/workspace/router/TMRAF/tools/redirectOptimize.py /media/Storage/workspace/router/rt-n56u/toolchain-mipsel/ O2 O3

# sanity
if [ "$GCCMJ" = "4.4" ] ; then
cp -rf "$PREFIX/man" "$PREFIX/share" && rm -rf "$PREFIX/man"
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/docs/examples/Makefile.m32
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CURL_AR := $(CROSSPREFIX)ar
endif

CC = $(CURL_CC)
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall -W
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O3 -Wall -W
CFLAGS += -fno-strict-aliasing
# comment LDFLAGS below to keep debug info
LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_EXE) -s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ DB = NDEBUG
endif
# Optimization: -O<n> or debugging: -g
ifeq ($(DB),NDEBUG)
OPT = -O2
OPT = -O3
OBJDIR = release
else
OPT = -g
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/lib/Makefile.m32
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CURL_RANLIB := $(CROSSPREFIX)ranlib
endif

CC = $(CURL_CC)
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall -W
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O3 -Wall -W
CFLAGS += -fno-strict-aliasing
# comment LDFLAGS below to keep debug info
LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_DLL) -s
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/lib/Makefile.netware
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ DB = NDEBUG
endif
# Optimization: -O<n> or debugging: -g
ifeq ($(DB),NDEBUG)
OPT = -O2
OPT = -O3
OBJDIR = release
else
OPT = -g
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/lib/Makefile.vxworks
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ CFLAGS := -D__GNUC__ -D__ppc__ -msoft-float -fno-builtin -mcpu=604 -mlongcall -D
LDFLAGS := -nostdlib -Wl,-i -Wl,-X
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g
C_OPTFLAG := -O2
C_OPTFLAG := -O3
COMPILE_ONLY_FLAG := -c
OBJ_EXTENSION := .o
CC_OBJ_OUTPUT = -o $@
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/lib/makefile.amiga
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ATCPSDKI= /GG/netinclude


CC = m68k-amigaos-gcc
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O3 -msoft-float -noixemul -g -I. -I../include -W -Wall

include Makefile.inc
OBJS = $(CSOURCES:.c=.o)
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/src/Makefile.m32
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CURL_AR := $(CROSSPREFIX)ar
endif

CC = $(CURL_CC)
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall -W
CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O3 -Wall -W
CFLAGS += -fno-strict-aliasing
# comment LDFLAGS below to keep debug info
LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_EXE) -s
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/src/Makefile.netware
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ DB = NDEBUG
endif
# Optimization: -O<n> or debugging: -g
ifeq ($(DB),NDEBUG)
OPT = -O2
OPT = -O3
OBJDIR = release
else
OPT = -g
Expand Down
2 changes: 1 addition & 1 deletion trunk/libs/libcurl/curl-7.62.x/src/makefile.amiga
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ATCPSDKI= /GG/netinclude


CC = m68k-amigaos-gcc
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall
CFLAGS = -I$(ATCPSDKI) -m68020-60 -O3 -msoft-float -noixemul -g -I. -I../include -W -Wall
LIBS = ../lib/libcurl.a -lssl -lcrypto -lz
MANPAGE = ../docs/curl.1
README = ../docs/MANUAL
Expand Down
Loading

0 comments on commit 9a4d262

Please sign in to comment.