Skip to content

Commit

Permalink
dnsmasq: adapt project (hanwckf#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yh793 authored and ChenyangS committed Apr 7, 2021
1 parent 914d2de commit c3a2e22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions trunk/user/dnsmasq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ clean:
rm -f dnsmasq

romfs:
cp $(SRC_NAME)/src/dnsmasq .
$(STRIP) dnsmasq
$(ROMFSINST) /usr/sbin/dnsmasq
$(ROMFSINST) $(SRC_NAME)/src/dnsmasq /usr/sbin/dnsmasq
6 changes: 3 additions & 3 deletions trunk/user/dnsmasq/dnsmasq-2.8x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

# Variables you may well want to override.

PREFIX = /usr/local
PREFIX = /usr
BINDIR = $(PREFIX)/sbin
MANDIR = $(PREFIX)/share/man
LOCALEDIR = $(PREFIX)/share/locale
BUILDDIR = $(SRC)
DESTDIR =
CFLAGS += -Wall -W -O2
LDFLAGS +=
CFLAGS += -Wall -W -O2 -ffunction-sections -fdata-sections -fvisibility=hidden
LDFLAGS += -Wl,--gc-sections
COPTS =
RPM_OPT_FLAGS =
LIBS =
Expand Down

0 comments on commit c3a2e22

Please sign in to comment.