diff options
author | xengineering <me@xengineering.eu> | 2022-11-11 19:30:09 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-11-11 19:30:09 +0100 |
commit | 053482f2899f6baf9fca996d24cb8fe6a888336c (patch) | |
tree | 14b774a85b2a0650e154c70f3b07f66a6e70953d /Makefile | |
parent | a33065889f01941c3f2063c3a895653bd02ae244 (diff) | |
download | ceres-053482f2899f6baf9fca996d24cb8fe6a888336c.tar ceres-053482f2899f6baf9fca996d24cb8fe6a888336c.tar.zst ceres-053482f2899f6baf9fca996d24cb8fe6a888336c.zip |
Remove build flag recommendations
This was based on recommendations from the Arch Linux wiki. Because they
could maybe break something on other distributions they are removed here
and maybe re-introduced later in a packaging repository.
Furthermore the Makefile is more readable this way.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -5,13 +5,6 @@ PREFIX="/usr" .PHONY: all clean install debug all: - # some recommended options for Go building (https://wiki.archlinux.org/title/Go_package_guidelines) - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - mkdir -p build go build -o build/ceres main.go |