-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix build system uglienesses and broken make LIBS="-lasan"
#4194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-11
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Thank you for your contributions. |
commit |
Automake has an implicit x = @x@ for every AC_SUBST-ed variable already, stop reinventing the variables -- and enable standard make-time variable overrides. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Why the heck are -lcurlpp -lcryptopp in AM_CPPFLAGS? That variable is not getting used during link anyway, and because of that, there is also no error emitted that I do not have them installed in my OS. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-l must go to LIBADD. Not CFLAGS. And definitely not CPPFLAGS. It's not a preprocessor flag, darn it. -I should preferably go into CPPFLAGS. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Stop trampling on user-defined variables. Move detected required libraries to their own specific variables. Another benefit is that components which do not need one or more of (-lcrypto, -lpthread, -lrt) are not forcibly linked to them. ./configure CFLAGS="-O0 -ggdb3 -fsanitize=address,undefined" && make -j16 LIBS="-lasan -lubsan" Signed-off-by: Jan Engelhardt <jengelh@inai.de>
I updated it to pass. |
No description provided.