Closed Bug 743241 Opened 12 years ago Closed 12 years ago

Remove -DOSTYPE and -DOSARCH from config.mk

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla15

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

The only place I can find where -DOSTYPE is useful (fsvo useful) is:
http://mxr.mozilla.org/mozilla-central/source/intl/locale/src/unix/nsUNIXCharset.cpp#85
And this could use a definition from intl/locale/src/unix/Makefile.in instead of config.mk.

OSARCH is used in:
http://mxr.mozilla.org/mozilla-central/source/layout/style/forms.css#695
And that could most certainly be replaced by %ifdef XP_OS2.
Attachment #612896 - Flags: review?(ted.mielczarek)
Comment on attachment 612896 [details] [diff] [review]
Remove OSARCH and OSTYPE defines from config.mk

Review of attachment 612896 [details] [diff] [review]:
-----------------------------------------------------------------

::: config/config.mk
@@ +665,5 @@
>  -include $(topsrcdir)/$(MOZ_BUILD_APP)/app-config.mk
>  -include $(MY_CONFIG)
>  
>  ######################################################################
>  # Now test variables that might have been set or overridden by $(MY_CONFIG).

Probably just ditch this comment too?
Attachment #612896 - Flags: review?(ted.mielczarek) → review+
Assignee: nobody → mh+mozilla
https://hg.mozilla.org/mozilla-central/rev/73faea91726d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: