- dumpmachine to get the host triplet
- Removed static flags
- Thanks John Vogel
*.8
*.5
pkgadd
+pkginfo
pkgmk
rejmerge
CXXFLAGS += -O2 -Wall -pedantic -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-LIBARCHIVELIBS := $(shell pkg-config --libs --static libarchive)
+LIBARCHIVELIBS := $(shell pkg-config --libs libarchive)
-LDFLAGS += -static $(LIBARCHIVELIBS)
+LDFLAGS += $(LIBARCHIVELIBS)
OBJECTS = main.o pkgutil.o pkgadd.o pkgrm.o pkginfo.o
# pkgmk.conf: pkgmk(8) configuration
#
-export CHOST="$(echo $MACHTYPE)"
+export CHOST="$(gcc -dumpmachine)"
# hardfp (mainline)
export CTARGET="arm-crux-linux-gnueabihf"