[PR #1438] [MERGED] Add GOFLAGS and EXTRA_GOFLAGS #15904

Closed
opened 2025-11-02 11:57:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1438
Author: @typeless
Created: 4/4/2017
Status: Merged
Merged: 4/5/2017
Merged by: @appleboy

Base: masterHead: race-detector-enabler


📝 Commits (1)

  • faccf6e Add GOFLAGS and EXTRA_GOFLAGS

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 Makefile (+4 -1)

📄 Description

With these flags (modelling after CFLAGS and EXTRA_CFLAGS), we can enable race detector by setting environment variables.

E.g. EXTRA_GOFLAGS=-race make or make EXTRA_GOFLAGS=-race

For #1430


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1438 **Author:** [@typeless](https://github.com/typeless) **Created:** 4/4/2017 **Status:** ✅ Merged **Merged:** 4/5/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `race-detector-enabler` --- ### 📝 Commits (1) - [`faccf6e`](https://github.com/go-gitea/gitea/commit/faccf6eab5c59a8d225b94c0108c8c83a0a7a43e) Add GOFLAGS and EXTRA_GOFLAGS ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+4 -1) </details> ### 📄 Description With these flags (modelling after CFLAGS and EXTRA_CFLAGS), we can enable race detector by setting environment variables. E.g. `EXTRA_GOFLAGS=-race make` or `make EXTRA_GOFLAGS=-race` For #1430 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:57:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15904