mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name
will be correctly defined.
This commit is contained in:
parent
d53d429ed2
commit
368f3c551b
2 changed files with 1 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ CONFIG_NAME = linux-solo
|
|||
CC = gcc
|
||||
CXX = g++
|
||||
|
||||
CCOMMON = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L
|
||||
CCOMMON = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE
|
||||
|
||||
CFLAGS = $(CCOMMON) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <expat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#define __USE_GNU /* defines program_invocation_short_name */
|
||||
#include <errno.h>
|
||||
#include "imports.h"
|
||||
#include "dri_util.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue