]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/DevicePath/GNUmakefile
Basetools: turn off gcc12 warning
[mirror_edk2.git] / BaseTools / Source / C / DevicePath / GNUmakefile
CommitLineData
7dbc50bd
YZ
1## @file\r
2# GNU/Linux makefile for 'DevicePath' module build.\r
3#\r
4# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
2e351cbe 5# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7dbc50bd
YZ
6#\r
7ARCH ?= IA32\r
8MAKEROOT ?= ..\r
9\r
10APPNAME = DevicePath\r
11\r
12OBJECTS = DevicePath.o UefiDevicePathLib.o DevicePathFromText.o DevicePathUtilities.o\r
13\r
14include $(MAKEROOT)/Makefiles/app.makefile\r
15\r
22130dcd
GH
16# gcc 12 trips over device path handling\r
17BUILD_CFLAGS += -Wno-error=stringop-overflow\r
18\r
7dbc50bd
YZ
19LIBS = -lCommon\r
20ifeq ($(CYGWIN), CYGWIN)\r
21 LIBS += -L/lib/e2fsprogs -luuid\r
22endif\r
23\r
24ifeq ($(LINUX), Linux)\r
25 LIBS += -luuid\r
26endif\r
27\r