Skip to content

Commit

Permalink
Fix some really old compilers (e.g. Ubuntu 14/clang)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrapivin authored Jul 27, 2021
1 parent 43e90e3 commit ee76e96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-linux-gms1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
rm libnekopresence-32bit.so
c++ -m32 -fPIC -g -c -o np.o NekoPresence/nekopresence.cpp
c++ -m32 np.o -shared -o libnekopresence-32bit.so -L. -ldiscord-rpc-32bit
rm np.o
c++ -m32 -std=c++11 -fPIC -g -c -o np.o NekoPresence/nekopresence.cpp
c++ -m32 -std=c++11 np.o -shared -o libnekopresence-32bit.so -L. -ldiscord-rpc-32bit
rm np.o

0 comments on commit ee76e96

Please sign in to comment.