Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games authored May 31, 2024
1 parent 2bd488a commit 63e19f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ elif [ $(uname) = "Linux" ]; then
elif [ $(uname) = "FreeBSD" ]; then
clang++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL -lkvm -lpthread; ./sysinfo -h 2> /dev/null;
elif [ $(uname) = "DragonFly" ]; then
g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL -lkvm -lpthread; ./sysinfo -h 2> /dev/null;
g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL `pkg-config --cflags --libs hwloc --static` -lkvm -lpthread; ./sysinfo -h 2> /dev/null;
elif [ $(uname) = "NetBSD" ]; then
g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -I/usr/X11R7/include -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lGL `pkg-config --cflags --libs hwloc --static` -lpthread; ./sysinfo -h 2> /dev/null;
elif [ $(uname) = "OpenBSD" ]; then
Expand Down

0 comments on commit 63e19f0

Please sign in to comment.