packages/libs/tinycdb/patches/100-Makefile.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

24 lines
791 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -86,17 +86,17 @@ $(PICLIB): $(LIB_OBJS_PIC)
$(SHAREDLIB): $(LIB_OBJS_PIC) $(LIBMAP)
-rm -f $(SOLIB)
ln -s $@ $(SOLIB)
- $(LD) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
+ $(CC) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
$(LDFLAGS_SONAME)$(SHAREDLIB) $(LDFLAGS_VSCRIPT)$(LIBMAP) \
$(LIB_OBJS_PIC)
cdb: cdb.o $(CDB_USELIB)
- $(LD) $(LDFLAGS) -o $@ cdb.o $(CDB_USELIB)
+ $(CC) $(LDFLAGS) -o $@ cdb.o $(CDB_USELIB)
cdb-shared: cdb.o $(SHAREDLIB)
- $(LD) $(LDFLAGS) -o $@ cdb.o $(SHAREDLIB)
+ $(CC) $(LDFLAGS) -o $@ cdb.o $(SHAREDLIB)
$(NSS_CDB): $(NSS_OBJS) $(NSS_USELIB) $(NSSMAP)
- $(LD) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
+ $(CC) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
$(LDFLAGS_SONAME)$@ $(LDFLAGS_VSCRIPT)$(NSSMAP) \
$(NSS_OBJS) $(NSS_USELIB)