mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-5731-9922-agente-32-bit-no-funciona-error-compilacion' into 'develop'
Do not set ARCH if it was already set by other build scripts. See merge request artica/pandorafms!3180
This commit is contained in:
commit
253312bdb3
@ -3,13 +3,18 @@
|
|||||||
# The installer will be placed in ./installer/output/.
|
# The installer will be placed in ./installer/output/.
|
||||||
# InstallJammer must be installed and in the PATH.
|
# InstallJammer must be installed and in the PATH.
|
||||||
|
|
||||||
|
# ARCH may be set by other build scripts.
|
||||||
|
if [ "$ARCH" == "" ]; then
|
||||||
ARCH=`uname -m`
|
ARCH=`uname -m`
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set the target host.
|
||||||
if [ "$ARCH" == "x86_64" ]; then
|
if [ "$ARCH" == "x86_64" ]; then
|
||||||
HOST="x86_64-w64-mingw32"
|
HOST="x86_64-w64-mingw32"
|
||||||
else
|
else
|
||||||
HOST="i686-w64-mingw32"
|
HOST="i686-w64-mingw32"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi
|
# Compile and update the Pandora FMS Agent binary.
|
||||||
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/
|
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user