]> git.pld-linux.org Git - packages/SearchAndRescue.git/blob - SearchAndRescue-flags.patch
- added missing definition
[packages/SearchAndRescue.git] / SearchAndRescue-flags.patch
1 --- searchandrescue_1.1.0/sar/Makefile~ 2010-09-16 11:51:19.517085311 +0200
2 +++ searchandrescue_1.1.0/sar/Makefile  2010-09-16 11:52:28.836245705 +0200
3 @@ -32,10 +32,10 @@
4  OBJ_CPP = $(SRC_CPP:.cpp=.o)
5  .c.o:
6         @echo "Compiling module $*.o"
7 -       @$(CC) -c $*.c $(INC_DIRS) $(CFLAGS)
8 +       @$(CC) $(OPTCFLAGS) $(CFLAGS)-c $*.c $(INC_DIRS)
9  .cpp.o:
10         @echo "Compiling module $*.o"
11 -       @$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS)
12 +       @$(CPP) $(OPTCPPFLAGS) $(CPPFLAGS) -c $*.cpp $(INC_DIRS)
13  
14  # Programs
15  LS      = ls
16 @@ -48,7 +48,7 @@
17  
18  modules: $(OBJ_C) $(OBJ_CPP)
19         @echo -n "Linking modules..."
20 -       @$(CPP) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIBS) $(LIB_DIRS)
21 +       @$(CPP) $(LDFLAGS) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIBS) $(LIB_DIRS)
22         @echo -n "   "
23         @-$(LS) $(LSFLAGS) $(BIN)
24  
This page took 0.059782 seconds and 3 git commands to generate.