Mike Sharov

Results 6 comments of Mike Sharov

The AUR PKGBUILD explicitly sets mandir to /usr/local//share/ and that's where the Makefile installs it. The correct dirname is /usr/local/share/man, which is where man will look for it. There are...

That will break the custom CFLAGS functionality, not enable it. When you use custom CFLAGS, it is usually in order to override a flag that Config.mk already sets. If Config.mk...

There are three ways to do it. You can pass the flags directly to make on the command line: ```sh make LDFLAGS="-fPIE -pie" CFLAGS="-fPIE -D_FORTIFY_SOURCE=2" ``` You can have the...

Now, responding to your second question, PIE and _FORTIFY_SOURCE will not help make berry more secure. Hackers have long been able to hack relocatable executables, so it makes no difference...

I would recommend putting the changes into config.status as I described above, instead of modifying Config.mk.in. Otherwise, I'm not going to tell you what flags to use in your own...

The difference is that Config.mk.in is part of the project, while config.status contains build configuration. Changing compiler flags is part of build configuration specific to your platform, and so goes...