File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,11 @@ WORKDIR /tmp
1515# SIMD Coprocessor: NEON
1616# Floating Point ABI: Hard (generates floating-point instructions with FPU-specific calling conventions)
1717RUN if [ "${TARGETARCH}" = "arm" ] && [ "${TARGETVARIANT}" = "v7" ]; then \
18- export CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -pipe" ; \
19- export CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -pipe" ; \
18+ export CFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -pipe" ; \
19+ export CXXFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -pipe" ; \
20+ else \
21+ export CFLAGS="-O2 -pipe" ; \
22+ export CXXFLAGS="-O2 -pipe" ; \
2023 fi && \
2124 git clone https://github.com/VerdigrisTech/localproxy && \
2225 cd localproxy && \
You can’t perform that action at this time.
0 commit comments