Files
gentoo/net-misc/etherdfs/files/etherdfs-20180203-makefile.patch
Conrad Kostecki 87194a48f4 net-misc/etherdfs: New package
EtherDFS is an 'installable filesystem' TSR for DOS.
It maps a drive from a remote computer
to a local drive letter, using raw ethernet frames to communicate.

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2019-12-27 15:07:25 +01:00

15 lines
578 B
Diff

--- a/Makefile 2018-02-03 21:21:51.518384435 +0100
+++ b/Makefile 2019-12-27 01:23:37.030323263 +0100
@@ -5,9 +5,9 @@
# Copyright (C) 2017, 2018 Mateusz Viste
#
-CFLAGS = -O2 -Wall -std=gnu89 -pedantic -Wextra -s -Wno-long-long -Wno-variadic-macros -Wformat-security -D_FORTIFY_SOURCE=1
+CFLAGS += -Wall -std=gnu89 -pedantic -Wextra -Wno-long-long -Wno-variadic-macros -Wformat-security -D_FORTIFY_SOURCE=1
-CC = gcc
+CC ?= gcc
ethersrv-linux: ethersrv-linux.c fs.c fs.h lock.c lock.h debug.h
$(CC) ethersrv-linux.c fs.c lock.c -o ethersrv-linux $(CFLAGS)