summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-11-16 19:44:12 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-11-16 19:44:12 +0000
commit6b687da36f3ddcf2635349d95d9e07b889b731eb (patch)
tree66a43c991d7e829cee3248a477c1604f00722228 /mdk-stage1/mar/Makefile
parentc7d7c61b80356709e01e411d3459f104bb219897 (diff)
downloaddrakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar
drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.gz
drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.bz2
drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.xz
drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.zip
- fix bug of not actually writing down the `0' char to end filetable
- use stat to compute file lengths - test NULL pointers directly on their value
Diffstat (limited to 'mdk-stage1/mar/Makefile')
-rw-r--r--mdk-stage1/mar/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/mar/Makefile b/mdk-stage1/mar/Makefile
index 91579aac1..6f87681f7 100644
--- a/mdk-stage1/mar/Makefile
+++ b/mdk-stage1/mar/Makefile
@@ -3,7 +3,8 @@ all: mar
clean:
rm -f *.o mar
-FLAGS = -Wall -Werror -O1 -fomit-frame-pointer -c
+FLAGS = -Wall -Werror -Os -fomit-frame-pointer -c
+
mar: mar-frontend.o mar-extract-only.o
gcc -o mar mar-frontend.o mar-extract-only.o -lz
@@ -12,4 +13,4 @@ mar-frontend.o: mar-frontend.c mar.h
gcc $(FLAGS) mar-frontend.c
mar-extract-only.o: mar-extract-only.c mar-extract-only.h mar.h
- gcc $(FLAGS) mar-extract-only.c \ No newline at end of file
+ gcc $(FLAGS) mar-extract-only.c