Skip to content

Instantly share code, notes, and snippets.

@Saijin-Naib
Created October 21, 2021 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saijin-Naib/32aa3e711cd903402d956eccc7cd8e8f to your computer and use it in GitHub Desktop.
Save Saijin-Naib/32aa3e711cd903402d956eccc7cd8e8f to your computer and use it in GitHub Desktop.
gpscorrelate APKBUILD Patch
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,12 @@
PACKAGE_VERSION = 2.0
-CC = gcc
-CXX = g++
+CC = $CC
+CXX = $CXX
EXEEXT =
PKG_CONFIG=pkg-config
-CFLAGS = -Wall -O2
-LDFLAGS = -Wall -O2 -lm
+CFLAGS = $CFLAGS
+LDFLAGS = $LDFLAGS
GTK = 3
COBJS = main-command.o unixtime.o gpx-read.o correlate.o exif-gps.o latlong.o
@@ -26,7 +26,7 @@
# Put --nonet here to avoid downloading DTDs while building documentation
XSLTFLAGS =
-prefix = /usr/local
+prefix = /usr
bindir = $(prefix)/bin
datadir = $(prefix)/share
mandir = $(datadir)/man
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment