From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) by mx.groups.io with SMTP id smtpd.web08.653.1654033364793438749 for ; Tue, 31 May 2022 14:42:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IUmxZ5sv; spf=pass (domain: gmail.com, ip: 209.85.221.177, mailfrom: pedro.falcato@gmail.com) Received: by mail-vk1-f177.google.com with SMTP id b144so3066885vkb.13 for ; Tue, 31 May 2022 14:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=hPX86RNP45q5+o96zXuo7X/2aNZCbgXJHFy2mA6Tjhc=; b=IUmxZ5svkhU/YrFipEckg3qhbpuQxUAxbBarqxhDxQOqDQ1jOcA4M/92/+W523dG2x twco4PXv0vk/nW1J8Q8oD1z8NTmTBsMiS5xntZbFW0i8eP/e2kKA5RyoyQn1cE6I/UVY e0+4NQai6s8AKZH3cecR8Eb+GoLpW0yXrtYoruaXpNyOrjslUraRHvWTNkpq9VQlnB8p HUaGDY+40TXXtVLs6c/5ZCqo6CLnQesCAFnH2TD3D+jXvkHEIx56P6jLnnjlbhwy4aqq 2FUd7T4uHtt1KOEXB38NZDAUwLQX5QUhRSsHUOzrkDCUPF8FzTWBeb9UgMcPcZLwzo5i zoPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hPX86RNP45q5+o96zXuo7X/2aNZCbgXJHFy2mA6Tjhc=; b=pudbE5yu3icBc4//ygcZirCCgmc0OkCGr++jPyR1Xcrrvad/i5owbGGEvfqhW2FOAV HjnRoAshXRksVGCsuolpLmdWCokc5P2kdyfBzMuaCFkNBWJg7NSLl8rOihrB1chAfiTO g+5a+d/stesdNdZopUo4p9GfkPmXTqkEqcHNj1216cY7YbaSyeUD2BLhTQAByygAdOBV vP2eKpvIjB3uSpCoM0fhsZnta9f2Wib7uErAxrPqv7sm7W/+CYEI8HjwVHHNyvD1s40I MTC7ipGyJoEDLxkuW4N9KlUwLUhRUAJXWYwRuhvuZp8SVLmuiK5GxnAUW1iOStkanMQi EVLQ== X-Gm-Message-State: AOAM532KRP4BP4yq1TzZQTBQDax0JQ8qns6vIDNGo1xSFHaXytSSpkfc KvupP2BYVvWum6Olo0qTMHipTjnAJYn0GB4kU9G6+sHB5in/YQ== X-Google-Smtp-Source: ABdhPJwHueV2ib7b40IfdA+UIk5TzmJg4vLdvpyPPcsZDvMvJSw0aL4Q3Wlj9W1nF07je4FTnIgN8NLIKHb3f0eCJ20= X-Received: by 2002:a05:6122:882:b0:357:a29d:9209 with SMTP id 2-20020a056122088200b00357a29d9209mr18056510vkf.23.1654033363715; Tue, 31 May 2022 14:42:43 -0700 (PDT) MIME-Version: 1.0 From: "Pedro Falcato" Date: Tue, 31 May 2022 22:42:32 +0100 Message-ID: Subject: Is it possible to inject compiler arguments and library dependencies from the build system? To: edk2-devel-groups-io Content-Type: multipart/alternative; boundary="00000000000017498005e055a73b" --00000000000017498005e055a73b Content-Type: text/plain; charset="UTF-8" Hi all, Following https://edk2.groups.io/g/devel/message/89684, I want to add sanitizer support to upstream EDK2. Doing this in a non-intrusive way would mean that I need to force all modules to depend on the UBSAN/ASAN implementation lib and force them to use a specific compile flag. Is there a way to do this using the current build system? Thanks, Pedro --00000000000017498005e055a73b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Following https://edk2.groups.io/= g/devel/message/89684, I want to add sanitizer support to upstream EDK2= . Doing this in a non-intrusive way would mean that I need to force all mod= ules to depend on the UBSAN/ASAN implementation lib and force them to use a= specific compile flag. Is there a way to do this using the current build s= ystem?

Thanks,
Pedro
--00000000000017498005e055a73b--