summaryrefslogtreecommitdiff
path: root/security/ossec-hids-server/files/patch-src__Makeall
blob: 580cfc042e17e3ae5379ed0b45eeb3ec687cee31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./src/Makeall.orig	2013-10-29 12:13:44.000000000 -0600
+++ ./src/Makeall	2014-04-21 19:52:35.000000000 -0600
@@ -44,6 +44,7 @@
 ROOTCHECKBIN="rootcheck"
 DIRECTORIES=""      # Directories to make
 
+. ./LOCATION
 
 # Setting SunOS path
 if [ "X$OS" = "XSunOS" ]; then
@@ -104,7 +105,7 @@
     else
         
         echo 'int main() { short one = 1; char *cp = (char*)&one; if ( *cp == 0 ) return(1); else return(0); }' > isbigendian.c
-        gcc -o isbigendian isbigendian.c
+        cc -o isbigendian isbigendian.c
         ./isbigendian
         if [ $? = 1 ]; then
             echo "INFO: Big endian set."