Skip to content

Commit c503eaa

Browse files
author
Federico Fissore
committed
Statically compiling on linux*
1 parent 55d416b commit c503eaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch.linux32.build.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# along with this program; if not, write to the Free Software
1616
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1717

18-
CC="gcc -m32" CXX="g++ -m32" ./build.all.bash
18+
CFLAGS="-static" CXXFLAGS="-static" LDFLAGS="-static" CC="gcc -m32" CXX="g++ -m32" ./build.all.bash
1919

2020
rm -f *arduino*.tar.bz2 *arduino*.zip
2121

arch.linux64.build.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# along with this program; if not, write to the Free Software
1616
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1717

18-
./build.all.bash
18+
CFLAGS="-static" CXXFLAGS="-static" LDFLAGS="-static" ./build.all.bash
1919

2020
rm -f *arduino*.tar.bz2 *arduino*.zip
2121

0 commit comments

Comments
 (0)